From a3e3be007efa55dd80bd056ba0b877f692003918 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Thu, 19 Dec 2019 19:15:36 +0100 Subject: [PATCH] Use text-danger style for pending trace warning --- app/assets/stylesheets/common.scss | 8 -------- app/views/traces/_trace.html.erb | 2 +- app/views/traces/show.html.erb | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index b28b2547d..5db46be68 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -1495,10 +1495,6 @@ tr.turn:hover { color: gray; } - .trace_pending { - color: red; - } - .trace_public { color: green; } @@ -1519,10 +1515,6 @@ tr.turn:hover { /* Rules for the trace view */ .trace-show { - .trace_pending { - color: red; - } - .geo { display: inline; } diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index 1fde78790..9b377eb81 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -5,7 +5,7 @@ <% if trace.inserted %> "show", :id => trace.id, :display_name => trace.user.display_name %>"> "icon", :id => trace.id, :display_name => trace.user.display_name %>" border="0" alt="" /> <% else %> - <%= t ".pending" %> + <%= t ".pending" %> <% end %> <% end %> diff --git a/app/views/traces/show.html.erb b/app/views/traces/show.html.erb index a9978fdc4..a1c38cab6 100644 --- a/app/views/traces/show.html.erb +++ b/app/views/traces/show.html.erb @@ -6,7 +6,7 @@ <% if @trace.inserted %> "picture", :id => @trace.id, :display_name => @trace.user.display_name %>"> <% else %> - <%= t ".pending" %> + <%= t ".pending" %> <% end %> <% end %> -- 2.45.2