diff options
Diffstat (limited to 'app/views/shared/_main_menu_line.html.erb')
-rw-r--r-- | app/views/shared/_main_menu_line.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/shared/_main_menu_line.html.erb b/app/views/shared/_main_menu_line.html.erb index 57cf86a..7359d51 100644 --- a/app/views/shared/_main_menu_line.html.erb +++ b/app/views/shared/_main_menu_line.html.erb @@ -19,5 +19,10 @@ License along with ECS. If not, see <http://www.gnu.org/licenses/>. <div id="menu"> + <% if File.exist?(File.expand_path("version", Rails.root)) -%> + <div id=version> + <%= IO.read(File.expand_path("version", Rails.root)) %> + </div> + <% end -%> <%= render_navigation %> </div> |