Move status into the settings object
Only the very early boot code needs to look at the value from the environment directly.
This commit is contained in:
parent
6600221fe3
commit
141df02e67
14 changed files with 49 additions and 55 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue