Merge pull request #8405 from Flaburgan/7949-feedback-mobile
Add info links (the ones in the footer in the desktop version) into the drawer for mobile
This commit is contained in:
commit
6af305b2be
3 changed files with 22 additions and 1 deletions
|
|
@ -145,6 +145,9 @@ $mobile-navbar-height: 46px;
|
|||
bottom: 0;
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
li {
|
||||
font-size: 1.8rem;
|
||||
|
|
@ -195,6 +198,21 @@ $mobile-navbar-height: 46px;
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.info-links {
|
||||
li {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
a {
|
||||
padding: 8px 25px;
|
||||
}
|
||||
|
||||
.switch-to-touch {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#main-nav, #drawer {
|
||||
|
|
|
|||
|
|
@ -61,3 +61,6 @@
|
|||
= t("admins.admin_bar.report")
|
||||
%li= link_to t("layouts.application.switch_to_standard_mode"), toggle_mobile_path
|
||||
%li= link_to t("layouts.header.logout"), destroy_user_session_path, method: :delete
|
||||
|
||||
%ul.info-links
|
||||
= render "shared/links"
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
source_url.to_s,
|
||||
title: t("layouts.application.source_package")
|
||||
%li= link_to t("layouts.application.statistics_link"), statistics_path
|
||||
%li= link_to t("layouts.application.switch_to_touch_optimized_mode"), toggle_mobile_path
|
||||
- if AppConfig.settings.terms.enable?
|
||||
%li= link_to t("_terms"), terms_path
|
||||
- unless AppConfig.admins.podmin_email.nil?
|
||||
%li= mail_to AppConfig.admins.podmin_email, t("_podmin_mail")
|
||||
%li.switch-to-touch= link_to t("layouts.application.switch_to_touch_optimized_mode"), toggle_mobile_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue