]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/show.html.erb
Invert trace images in dark mode
[rails.git] / app / views / traces / show.html.erb
index def928da57bc56d604bbc759f92ee1c64ce42284..51b21f9828e0f72cfdd56488f0e6657e9098a442 100644 (file)
@@ -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 %>