diff --git a/app/views/content/panels/_timelines.html.erb b/app/views/content/panels/_timelines.html.erb index 5466a1ef..e54b3379 100644 --- a/app/views/content/panels/_timelines.html.erb +++ b/app/views/content/panels/_timelines.html.erb @@ -6,52 +6,48 @@ end %> -
-
-
- <%= render partial: 'notice_dismissal/messages/14' %> +
+ <%= render partial: 'notice_dismissal/messages/14' %> - <% if visible_timelines.any? %> -
<%= content.name %> appears in the following timelines
+ <% if visible_timelines.any? %> +
<%= content.name %> appears in the following timelines
-
    - <% visible_timelines.each do |timeline| %> -
  • - <%= link_to edit_timeline_path(timeline) do %> -
    -
    - <%= image_tag timeline.first_public_image(format: :medium), style: 'height: 140px' %> - - <%= timeline.name.presence || 'Untitled Timeline' %> - -
    -
    - <% if timeline.universe_id? %> -

    - <%= link_to timeline.universe, class: "#{Universe.color}-text" do %> - <%= Universe.icon %> - <%= timeline.universe.name %> - <% end %> -

    +
      + <% visible_timelines.each do |timeline| %> +
    • + <%= link_to edit_timeline_path(timeline) do %> +
      +
      + <%= image_tag timeline.first_public_image(format: :medium), style: 'height: 140px' %> + + <%= timeline.name.presence || 'Untitled Timeline' %> + +
      +
      + <% if timeline.universe_id? %> +

      + <%= link_to timeline.universe, class: "#{Universe.color}-text" do %> + <%= Universe.icon %> + <%= timeline.universe.name %> <% end %> -

      - <%= timeline.subtitle %> -

      -

      - <%= timeline.description %> -

      -

      - Last edited <%= time_ago_in_words timeline.updated_at %> ago -

      +

      + <% end %> +

      + <%= timeline.subtitle %> +

      +

      + <%= timeline.description %> +

      +

      + Last edited <%= time_ago_in_words timeline.updated_at %> ago +

      -
      -
      -
      - <% end %> -
    • +
      +
    +
    <% end %> -
+ <% end %> -
-
+ + <% end %>
\ No newline at end of file