mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
change notify banner. you can now set it in development.rb
This commit is contained in:
parent
8fdbcedcba
commit
34a005ec0e
3 changed files with 7 additions and 4 deletions
|
|
@ -40,9 +40,7 @@
|
|||
<body class="<%= @controller.controller_name %>">
|
||||
|
||||
<div id="topbar">
|
||||
<% if RAILS_ENV != "production" -%>
|
||||
<div id="develop-notify-bar"> </div>
|
||||
<% end -%>
|
||||
<%= NOTIFY_BAR %>
|
||||
|
||||
<div id="date">
|
||||
<h1>
|
||||
|
|
|
|||
|
|
@ -107,6 +107,9 @@ if ( SITE_CONFIG['authentication_schemes'].include? 'cas')
|
|||
end
|
||||
end
|
||||
|
||||
# changed in development.rb to show under_construction bar
|
||||
NOTIFY_BAR = "" unless defined?(NOTIFY_BAR)
|
||||
|
||||
tracks_version='2.1devel'
|
||||
# comment out next two lines if you do not want (or can not) the date of the
|
||||
# last git commit in the footer
|
||||
|
|
|
|||
|
|
@ -14,4 +14,6 @@ config.action_controller.perform_caching = false
|
|||
config.action_mailer.raise_delivery_errors = false
|
||||
|
||||
# Unique cookies
|
||||
config.action_controller.session = { :key => 'TracksDev' }
|
||||
config.action_controller.session = { :key => 'TracksDev' }
|
||||
|
||||
NOTIFY_BAR="<div id=\"develop-notify-bar\"> </div>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue