Add labels to mobile navs
This commit is contained in:
parent
f715de43f2
commit
038b45e64a
@ -10,6 +10,8 @@
|
|||||||
<div class="item">
|
<div class="item">
|
||||||
<button
|
<button
|
||||||
class="button-unstyled mobile-nav-button"
|
class="button-unstyled mobile-nav-button"
|
||||||
|
:title="$t('nav.mobile_sidebar')"
|
||||||
|
:aria-expanaded="this.$refs.sideDrawer && !this.$refs.sideDrawer.closed"
|
||||||
@click.stop.prevent="toggleMobileSidebar()"
|
@click.stop.prevent="toggleMobileSidebar()"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
@ -26,6 +28,7 @@
|
|||||||
<button
|
<button
|
||||||
v-if="currentUser"
|
v-if="currentUser"
|
||||||
class="button-unstyled mobile-nav-button"
|
class="button-unstyled mobile-nav-button"
|
||||||
|
:title="unseenNotificationsCount ? $t('nav.mobile_notifications_unread_active') : $t('nav.mobile_notifications')"
|
||||||
@click.stop.prevent="openMobileNotifications()"
|
@click.stop.prevent="openMobileNotifications()"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
@ -52,6 +55,7 @@
|
|||||||
<button
|
<button
|
||||||
v-if="notificationsAtTop"
|
v-if="notificationsAtTop"
|
||||||
class="button-unstyled mobile-nav-button"
|
class="button-unstyled mobile-nav-button"
|
||||||
|
:title="$t('general.scroll_to_top')"
|
||||||
@click.stop.prevent="scrollMobileNotificationsToTop"
|
@click.stop.prevent="scrollMobileNotificationsToTop"
|
||||||
>
|
>
|
||||||
<FALayers class="fa-scale-110 fa-old-padding-layer">
|
<FALayers class="fa-scale-110 fa-old-padding-layer">
|
||||||
@ -64,6 +68,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="button-unstyled mobile-nav-button"
|
class="button-unstyled mobile-nav-button"
|
||||||
|
:title="$t('nav.mobile_notifications_close')"
|
||||||
@click.stop.prevent="closeMobileNotifications(true)"
|
@click.stop.prevent="closeMobileNotifications(true)"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
|
@ -158,7 +158,11 @@
|
|||||||
"lists": "Lists",
|
"lists": "Lists",
|
||||||
"edit_nav_mobile": "Customize navigation bar",
|
"edit_nav_mobile": "Customize navigation bar",
|
||||||
"edit_pinned": "Edit pinned items",
|
"edit_pinned": "Edit pinned items",
|
||||||
"edit_finish": "Done editing"
|
"edit_finish": "Done editing",
|
||||||
|
"mobile_sidebar": "Toggle mobile sidebar",
|
||||||
|
"mobile_notifications": "Open notifications",
|
||||||
|
"mobile_notifications": "Open notifications (there are unread ones)",
|
||||||
|
"mobile_notifications_close": "Close notifications"
|
||||||
},
|
},
|
||||||
"notifications": {
|
"notifications": {
|
||||||
"broken_favorite": "Unknown status, searching for it…",
|
"broken_favorite": "Unknown status, searching for it…",
|
||||||
|
Loading…
Reference in New Issue
Block a user