diff options
| author | Henry Jameson <me@hjkos.com> | 2023-12-13 20:37:40 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2023-12-13 20:37:40 +0200 |
| commit | 4e8bb80dbd0ff5993f5613c6cbdfe757af0d0807 (patch) | |
| tree | a7383fe0759b61e48030aabdee0f929d117b6b0a /src/components/mobile_nav/mobile_nav.vue | |
| parent | bcdf336242307a149ab295a760d7b8851063f446 (diff) | |
fix incorrect title + add counter
Diffstat (limited to 'src/components/mobile_nav/mobile_nav.vue')
| -rw-r--r-- | src/components/mobile_nav/mobile_nav.vue | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue index ecd8290a..f20a509d 100644 --- a/src/components/mobile_nav/mobile_nav.vue +++ b/src/components/mobile_nav/mobile_nav.vue @@ -50,7 +50,13 @@ @touchmove.stop="notificationsTouchMove" > <div class="mobile-notifications-header"> - <span class="title">{{ $t('notifications.notifications') }}</span> + <span class="title"> + {{ $t('notifications.notifications') }} + <span + v-if="unseenCountBadgeText" + class="badge badge-notification unseen-count" + >{{ unseenCountBadgeText }}</span> + </span> <span class="spacer" /> <button v-if="notificationsAtTop" @@ -69,7 +75,7 @@ <button v-if="!closingDrawerMarksAsSeen" class="button-unstyled mobile-nav-button" - :title="$t('nav.mobile_notifications_close')" + :title="$t('nav.mobile_notifications_mark_as_seen')" @click.stop.prevent="markNotificationsAsSeen()" > <FAIcon |
