From 01c29420373802d37398bea920e795c8e2f71140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= Date: Tue, 7 Aug 2018 15:01:06 +0200 Subject: [PATCH 1/3] use hamburger menu on mobiles --- app/views/layouts/application.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' From 60d27f0094b1be86c4e9c6294149d86b5da1e435 Mon Sep 17 00:00:00 2001 From: tpgxyz Date: Tue, 14 Aug 2018 10:08:26 +0200 Subject: [PATCH 2/3] add Mass build status link in menu --- app/views/layouts/menu/_new_top.html.slim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/layouts/menu/_new_top.html.slim b/app/views/layouts/menu/_new_top.html.slim index 9b088c223..e85db9568 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.html" + | Mass build status + span.menu-icon.fa.fa-circle-o - if current_user.try(:admin?) li.sidebar-list a href=admin_users_path From 2caf502f2acc95b9a2af2958b344920c28dfb820 Mon Sep 17 00:00:00 2001 From: Alexander Stefanov Date: Wed, 29 Aug 2018 17:49:43 +0300 Subject: [PATCH 3/3] fix massbuild page --- app/views/layouts/menu/_new_top.html.slim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/menu/_new_top.html.slim b/app/views/layouts/menu/_new_top.html.slim index e85db9568..a418529ac 100644 --- a/app/views/layouts/menu/_new_top.html.slim +++ b/app/views/layouts/menu/_new_top.html.slim @@ -16,7 +16,7 @@ li.sidebar-list | Repoclosure span.menu-icon.fa.fa-circle-o li.sidebar-list - a href="https://abf.openmandriva.org/massbuild.html" + a href="https://abf.openmandriva.org/massbuild" | Mass build status span.menu-icon.fa.fa-circle-o - if current_user.try(:admin?) @@ -51,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