2021-02-22 14:24:04 +00:00
|
|
|
<template>
|
|
|
|
<ul>
|
|
|
|
<li v-if="currentUser">
|
|
|
|
<router-link
|
|
|
|
class="menu-item"
|
|
|
|
:to="{ name: 'friends' }"
|
|
|
|
>
|
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
|
|
|
class="fa-scale-110 fa-old-padding "
|
|
|
|
icon="home"
|
2022-08-02 09:18:58 +00:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
:title="$t('nav.home_timeline_description')"
|
|
|
|
:aria-label="$t('nav.home_timeline_description')"
|
|
|
|
>{{ $t("nav.home_timeline") }}</span>
|
2021-02-22 14:24:04 +00:00
|
|
|
</router-link>
|
2022-07-22 14:36:45 +00:00
|
|
|
</li>
|
2022-09-14 18:44:29 +00:00
|
|
|
<li v-if="currentUser && showBubbleTimeline">
|
2022-07-22 14:36:45 +00:00
|
|
|
<router-link
|
|
|
|
class="menu-item"
|
|
|
|
:to="{ name: 'bubble-timeline' }"
|
|
|
|
>
|
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
|
|
|
class="fa-scale-110 fa-old-padding "
|
|
|
|
icon="circle"
|
2022-08-02 09:18:58 +00:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
:title="$t('nav.bubble_timeline_description')"
|
|
|
|
:aria-label="$t('nav.bubble_timeline_description')"
|
|
|
|
>{{ $t("nav.bubble_timeline") }}</span>
|
2022-07-22 14:36:45 +00:00
|
|
|
</router-link>
|
2021-02-22 14:24:04 +00:00
|
|
|
</li>
|
2023-03-16 16:41:37 +00:00
|
|
|
<li v-if="(currentUser || !privateMode) && (currentUser || (publicTimelineVisibility?.local ?? true))">
|
2021-02-22 14:24:04 +00:00
|
|
|
<router-link
|
|
|
|
class="menu-item"
|
|
|
|
:to="{ name: 'public-timeline' }"
|
|
|
|
>
|
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
|
|
|
class="fa-scale-110 fa-old-padding "
|
|
|
|
icon="users"
|
2022-08-02 09:18:58 +00:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
:title="$t('nav.public_timeline_description')"
|
|
|
|
:aria-label="$t('nav.public_timeline_description')"
|
|
|
|
>{{ $t("nav.public_tl") }}</span>
|
2021-02-22 14:24:04 +00:00
|
|
|
</router-link>
|
|
|
|
</li>
|
2023-03-16 16:41:37 +00:00
|
|
|
<li v-if="federating && (currentUser || !privateMode) && (currentUser || (publicTimelineVisibility?.federated ?? true))">
|
2021-02-22 14:24:04 +00:00
|
|
|
<router-link
|
|
|
|
class="menu-item"
|
|
|
|
:to="{ name: 'public-external-timeline' }"
|
|
|
|
>
|
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
|
|
|
class="fa-scale-110 fa-old-padding "
|
|
|
|
icon="globe"
|
2022-08-02 09:18:58 +00:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
:title="$t('nav.twkn_timeline_description')"
|
|
|
|
:aria-label="$t('nav.twkn_timeline_description')"
|
|
|
|
>{{ $t("nav.twkn") }}</span>
|
2023-03-15 22:20:54 +00:00
|
|
|
|
2021-02-22 14:24:04 +00:00
|
|
|
</router-link>
|
|
|
|
</li>
|
|
|
|
<li v-if="currentUser">
|
|
|
|
<router-link
|
|
|
|
class="menu-item"
|
|
|
|
:to="{ name: 'bookmarks'}"
|
|
|
|
>
|
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
|
|
|
class="fa-scale-110 fa-old-padding "
|
|
|
|
icon="bookmark"
|
2022-08-02 09:18:58 +00:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
:title="$t('nav.bookmarks')"
|
|
|
|
:aria-label="$t('nav.bookmarks')"
|
|
|
|
>{{ $t("nav.bookmarks") }}</span>
|
2021-02-22 14:24:04 +00:00
|
|
|
</router-link>
|
|
|
|
</li>
|
|
|
|
<li v-if="currentUser">
|
|
|
|
<router-link
|
|
|
|
class="menu-item"
|
|
|
|
:to="{ name: 'dms', params: { username: currentUser.screen_name } }"
|
|
|
|
>
|
|
|
|
<FAIcon
|
|
|
|
fixed-width
|
|
|
|
class="fa-scale-110 fa-old-padding "
|
|
|
|
icon="envelope"
|
2022-08-02 09:18:58 +00:00
|
|
|
/>
|
|
|
|
<span
|
|
|
|
:title="$t('nav.dms')"
|
|
|
|
:aria-label="$t('nav.dms')"
|
|
|
|
>{{ $t("nav.dms") }}</span>
|
2021-02-22 14:24:04 +00:00
|
|
|
</router-link>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./timeline_menu_content.js" ></script>
|
2022-07-22 14:36:45 +00:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import "../../_variables.scss";
|
|
|
|
.timeline-desc {
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--text, $fallback--text);
|
|
|
|
padding-left: 1em;
|
|
|
|
display: block;
|
|
|
|
background-color: scale(var(--bg, $fallback--bg), 0.1);
|
|
|
|
padding-bottom: 0.4em;
|
|
|
|
}
|
|
|
|
</style>
|