diff --git a/app/views/timelines/index.html.erb b/app/views/timelines/index.html.erb index 78c2c27b..a3779972 100644 --- a/app/views/timelines/index.html.erb +++ b/app/views/timelines/index.html.erb @@ -20,8 +20,8 @@ <%= link_to edit_timeline_path(timeline) do %>
-
- <%= image_tag timeline.random_public_image(format: :medium), style: 'height: 140px' %> +
+ <%= image_tag timeline.random_public_image(format: :medium) %> <%= timeline.name.presence || 'Untitled Timeline' %> @@ -52,6 +52,17 @@
+
+ <%= link_to timeline_path(timeline), class: 'blue-text left' do %> + <%= Timeline.icon %> + View + <% end %> + <%= link_to edit_timeline_path(timeline), class: 'green-text right' do %> + edit + Edit + <% end %> +
+
<% end %> @@ -71,6 +82,11 @@

<% end %> +
+
+
+
+ <% elsif @timelines.empty? %>