Use text-danger style for pending trace warning

This commit is contained in:
Andy Allan 2019-12-19 19:15:36 +01:00
parent f8d61f287c
commit a3e3be007e
3 changed files with 2 additions and 10 deletions

View file

@ -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;
}

View file

@ -5,7 +5,7 @@
<% if trace.inserted %>
<a href="<%= url_for :controller => "traces", :action => "show", :id => trace.id, :display_name => trace.user.display_name %>"><img src="<%= url_for :controller => "traces", :action => "icon", :id => trace.id, :display_name => trace.user.display_name %>" border="0" alt="" /></a>
<% else %>
<span class="trace_pending"><%= t ".pending" %></span>
<span class="text-danger"><%= t ".pending" %></span>
<% end %>
<% end %>
</td>

View file

@ -6,7 +6,7 @@
<% if @trace.inserted %>
<img src="<%= url_for :controller => "traces", :action => "picture", :id => @trace.id, :display_name => @trace.user.display_name %>">
<% else %>
<span class="trace_pending"><%= t ".pending" %></span>
<span class="text-danger"><%= t ".pending" %></span>
<% end %>
<% end %>