From: Andy Allan Date: Thu, 19 Dec 2019 18:15:36 +0000 (+0100) Subject: Use text-danger style for pending trace warning X-Git-Tag: live~2384^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a3e3be007efa55dd80bd056ba0b877f692003918 Use text-danger style for pending trace warning --- 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 %>