mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-04-06 01:25:31 +00:00
Add tooltip to header notifications menu
This commit is contained in:
parent
f542ab3052
commit
28505a5b18
@ -4,11 +4,27 @@
|
|||||||
class="notifications-menu"
|
class="notifications-menu"
|
||||||
:to="{ name: 'notifications' }"
|
:to="{ name: 'notifications' }"
|
||||||
>
|
>
|
||||||
<base-button icon="bell" ghost circle />
|
<base-button
|
||||||
|
icon="bell"
|
||||||
|
ghost
|
||||||
|
circle
|
||||||
|
v-tooltip="{
|
||||||
|
content: $t('notifications.headerMenuButton.tooltip'),
|
||||||
|
placement: 'bottom-start',
|
||||||
|
}"
|
||||||
|
/>
|
||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
<dropdown v-else class="notifications-menu" offset="8" :placement="placement">
|
<dropdown v-else class="notifications-menu" offset="8" :placement="placement">
|
||||||
<template #default="{ toggleMenu }">
|
<template #default="{ toggleMenu }">
|
||||||
<base-button @click="toggleMenu" ghost circle>
|
<base-button
|
||||||
|
ghost
|
||||||
|
circle
|
||||||
|
v-tooltip="{
|
||||||
|
content: $t('notifications.headerMenuButton.tooltip'),
|
||||||
|
placement: 'bottom-start',
|
||||||
|
}"
|
||||||
|
@click="toggleMenu"
|
||||||
|
>
|
||||||
<counter-icon icon="bell" :count="unreadNotificationsCount" danger />
|
<counter-icon icon="bell" :count="unreadNotificationsCount" danger />
|
||||||
</base-button>
|
</base-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -651,6 +651,9 @@
|
|||||||
"unread": "Ungelesen"
|
"unread": "Ungelesen"
|
||||||
},
|
},
|
||||||
"group": "Beschreibung",
|
"group": "Beschreibung",
|
||||||
|
"headerMenuButton": {
|
||||||
|
"tooltip": "Meine Benachrichtigungen"
|
||||||
|
},
|
||||||
"markAllAsRead": "Markiere alle als gelesen",
|
"markAllAsRead": "Markiere alle als gelesen",
|
||||||
"pageLink": "Alle Benachrichtigungen",
|
"pageLink": "Alle Benachrichtigungen",
|
||||||
"post": "Beitrag oder Gruppe",
|
"post": "Beitrag oder Gruppe",
|
||||||
|
|||||||
@ -651,6 +651,9 @@
|
|||||||
"unread": "Unread"
|
"unread": "Unread"
|
||||||
},
|
},
|
||||||
"group": "Description",
|
"group": "Description",
|
||||||
|
"headerMenuButton": {
|
||||||
|
"tooltip": "My notifications"
|
||||||
|
},
|
||||||
"markAllAsRead": "Mark all as read",
|
"markAllAsRead": "Mark all as read",
|
||||||
"pageLink": "All notifications",
|
"pageLink": "All notifications",
|
||||||
"post": "Post or Group",
|
"post": "Post or Group",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user