diff options
author | Julian Pawlowski <julian.pawlowski@gmail.com> | 2013-01-22 12:15:48 +0100 |
---|---|---|
committer | Julian Pawlowski <julian.pawlowski@gmail.com> | 2013-01-22 12:15:48 +0100 |
commit | 5d15c975b7d4509d786ab7b95ec61ed7ad166b14 (patch) | |
tree | 8d19a54d7db235f0fe6266ffe9ed58e702285055 /app/views/layouts | |
parent | ab63774d954fe1f967a97ffe5a0a66016eca2257 (diff) |
add GS_BUILDNAME as tooltip in the footer
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/_footer.html.haml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index a0f2940..73f12e0 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -1,8 +1,12 @@ - cache(['application_footer', I18n.locale]) do %footer %ul{:class => 'nav nav-pills'} - %li - %a{:href => "http://amooma.de/gemeinschaft/gs5"} Gemeinschaft #{GsParameter.get('GEMEINSCHAFT_VERSION')} + - if !GsParameter.get('GEMEINSCHAFT_BUILDNAME').nil? + %li + %a{:href => "http://amooma.de/gemeinschaft/gs5", :ref => 'tooltip', :title => "Gemeinschaft Version " + GsParameter.get('GEMEINSCHAFT_VERSION') + "\nBuild #" + GsParameter.get('GEMEINSCHAFT_BUILDNAME')} Gemeinschaft #{GsParameter.get('GEMEINSCHAFT_VERSION')} + - else + %li + %a{:href => "http://amooma.de/gemeinschaft/gs5"} Gemeinschaft #{GsParameter.get('GEMEINSCHAFT_VERSION')} - if GuiFunction.display?('amooma_commercial_support_link_in_footer', current_user) %li %a{:href => "http://amooma.de"} Support und Consulting |