diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim index d00802776..f57a841aa 100644 --- a/app/views/layouts/application.html.slim +++ b/app/views/layouts/application.html.slim @@ -14,7 +14,7 @@ html link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css' == stylesheet_link_tag 'new_application', cache: 'application' - body[ ng-app='RosaABF' ng-controller='RosaABFController' ng-strict-di='' class="hamburg" + body[ ng-app='RosaABF' ng-controller='RosaABFController' ng-strict-di='' class="hamburger" ng-init="init('#{I18n.locale}', #{!!current_user.try(:sound_notifications)})" ng-cloak="true"] .page-wrapper ng-class="{'open': toggle}" .sidebar-wrapper @@ -45,4 +45,4 @@ html == yield :additional_scripts if content_for?(:additional_scripts) - if I18n.locale == :ru == javascript_include_tag 'moment/ru.js', cache: 'moment' - == javascript_include_tag 'angular-locale_ru-ru', cache: 'angular-locale' \ No newline at end of file + == javascript_include_tag 'angular-locale_ru-ru', cache: 'angular-locale' diff --git a/app/views/layouts/menu/_new_top.html.slim b/app/views/layouts/menu/_new_top.html.slim index 9b088c223..a418529ac 100644 --- a/app/views/layouts/menu/_new_top.html.slim +++ b/app/views/layouts/menu/_new_top.html.slim @@ -15,6 +15,10 @@ li.sidebar-list a href="http://repoclosure.openmandriva.org" | Repoclosure span.menu-icon.fa.fa-circle-o +li.sidebar-list + a href="https://abf.openmandriva.org/massbuild" + | Mass build status + span.menu-icon.fa.fa-circle-o - if current_user.try(:admin?) li.sidebar-list a href=admin_users_path @@ -47,4 +51,4 @@ li.sidebar-list li.sidebar-list a href=new_user_session_path = t('layout.devise.shared_links.sign_in') - span.menu-icon.fa.fa-user \ No newline at end of file + span.menu-icon.fa.fa-user