Invert trace images in dark mode
This commit is contained in:
parent
ba90fe97ea
commit
5a9bac33bf
4 changed files with 11 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
<td>
|
||||
<% if Settings.status != "gpx_offline" %>
|
||||
<% if trace.inserted %>
|
||||
<%= link_to image_tag(trace_icon_path(trace.user, trace), :alt => ""), show_trace_path(trace.user, trace) %>
|
||||
<%= link_to image_tag(trace_icon_path(trace.user, trace), :alt => "", :class => "trace_image"), show_trace_path(trace.user, trace) %>
|
||||
<% else %>
|
||||
<span class="text-danger"><%= t ".pending" %></span>
|
||||
<% end %>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<h1><%= t ".heading", :name => @trace.name %></h1>
|
||||
<% end %>
|
||||
|
||||
<%= image_tag trace_picture_path(@trace.user, @trace) %>
|
||||
<%= image_tag trace_picture_path(@trace.user, @trace), :class => "trace_image" %>
|
||||
|
||||
<%= bootstrap_form_for @trace do |f| %>
|
||||
<%= f.text_field :name, :disabled => true %>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<% if Settings.status != "gpx_offline" %>
|
||||
<% if @trace.inserted %>
|
||||
<%= image_tag trace_picture_path(@trace.user, @trace) %>
|
||||
<%= image_tag trace_picture_path(@trace.user, @trace), :class => "trace_image" %>
|
||||
<% else %>
|
||||
<span class="text-danger"><%= t ".pending" %></span>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue