Add labels for timeline header

This commit is contained in:
tusooa 2022-11-07 13:22:40 -05:00
parent f0ba0e6855
commit f715de43f2
No known key found for this signature in database
GPG Key ID: 7B467EDE43A08224
6 changed files with 15 additions and 8 deletions

View File

@ -43,7 +43,12 @@ const Popover = {
overlayCentersSelector: String, overlayCentersSelector: String,
// Lets hover popover stay when clicking inside of it // Lets hover popover stay when clicking inside of it
stayOnClick: Boolean stayOnClick: Boolean,
triggerAttrs: {
type: Object,
default: {}
}
}, },
inject: ['popoversZLayer'], // override popover z layer inject: ['popoversZLayer'], // override popover z layer
data () { data () {

View File

@ -7,6 +7,7 @@
ref="trigger" ref="trigger"
class="button-unstyled popover-trigger-button" class="button-unstyled popover-trigger-button"
type="button" type="button"
v-bind="triggerAttrs"
@click="onClick" @click="onClick"
> >
<slot name="trigger" /> <slot name="trigger" />

View File

@ -3,6 +3,7 @@
trigger="click" trigger="click"
class="QuickFilterSettings" class="QuickFilterSettings"
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
:triggerAttrs="{ title: $t('timeline.quick_filter_settings') }"
> >
<template #content> <template #content>
<div class="dropdown-menu"> <div class="dropdown-menu">
@ -79,9 +80,7 @@
</div> </div>
</template> </template>
<template #trigger> <template #trigger>
<button class="button-unstyled">
<FAIcon icon="filter" /> <FAIcon icon="filter" />
</button>
</template> </template>
</Popover> </Popover>
</template> </template>

View File

@ -3,6 +3,7 @@
trigger="click" trigger="click"
class="QuickViewSettings" class="QuickViewSettings"
:bound-to="{ x: 'container' }" :bound-to="{ x: 'container' }"
:triggerAttrs="{ title: $t('timeline.quick_view_settings') }"
> >
<template #content> <template #content>
<div class="dropdown-menu"> <div class="dropdown-menu">
@ -66,9 +67,7 @@
</div> </div>
</template> </template>
<template #trigger> <template #trigger>
<button class="button-unstyled">
<FAIcon icon="bars" /> <FAIcon icon="bars" />
</button>
</template> </template>
</Popover> </Popover>
</template> </template>

View File

@ -47,6 +47,7 @@
v-else-if="!embedded" v-else-if="!embedded"
class="loadmore-text faint veryfaint rightside-icon" class="loadmore-text faint veryfaint rightside-icon"
:title="$t('timeline.up_to_date')" :title="$t('timeline.up_to_date')"
:aria-disabled="true"
@click.prevent @click.prevent
> >
<FAIcon <FAIcon

View File

@ -807,7 +807,9 @@
"no_more_statuses": "No more statuses", "no_more_statuses": "No more statuses",
"no_statuses": "No statuses", "no_statuses": "No statuses",
"socket_reconnected": "Realtime connection established", "socket_reconnected": "Realtime connection established",
"socket_broke": "Realtime connection lost: CloseEvent code {0}" "socket_broke": "Realtime connection lost: CloseEvent code {0}",
"quick_view_settings": "Quick view settings",
"quick_filter_settings": "Quick filter settings"
}, },
"status": { "status": {
"favorites": "Favorites", "favorites": "Favorites",