]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/show.html.erb
Move status into the settings object
[rails.git] / app / views / traces / show.html.erb
index 178cfbe73235d9e677e8407554b55ab42f254dd7..f8e8510f9de286c3d1b857fb3b6e2f9d0e3386ce 100644 (file)
@@ -2,7 +2,7 @@
   <h2><%= t '.heading', :name => h(@trace.name) %></h2>
 <% end %>
 
-<% if STATUS != :gpx_offline %>
+<% if Settings.status != "gpx_offline" %>
   <% if @trace.inserted %>
     <img src="<%= url_for :controller => 'traces', :action => 'picture', :id => @trace.id, :display_name => @trace.user.display_name %>">
   <% else %>