From 4e06fe054a38e7262f14ef555de9a1639404c7ba Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 20 Jul 2022 17:36:01 +0100 Subject: [PATCH] Rework trace index to use secondary-actions The border between items is familiar UI, so we can keep it, but lets use the secondary-actions approach instead. This avoids using left-right specific border, margin and padding classes --- app/views/traces/index.html.erb | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/app/views/traces/index.html.erb b/app/views/traces/index.html.erb index 693de7e1a..840069a02 100644 --- a/app/views/traces/index.html.erb +++ b/app/views/traces/index.html.erb @@ -1,12 +1,18 @@ <% content_for :heading_class, "pb-0" %> <% content_for :heading do %>

<%= @title %>

-

- <%= t(".description") %> - <% if params[:tag] %> - <%= link_to t(".remove_tag_filter", :tag => params[:tag]), { :controller => "traces", :action => "index", :display_name => nil, :tag => nil, :page => nil }, { :class => "border-left ml-2 pl-2" } %> - <% end %> -

+