aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline_menu/timeline_menu_content.vue
blob: 6caf688ee742c387fdcbf0d35237d3b50970c29a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<template>
  <div class="dropdown-menu">
    <router-link
      v-if="currentUser"
      class="dropdown-item button-default"
      :to="{ name: 'friends' }"
    >
      <FAIcon
        fixed-width
        class="fa-scale-110 fa-old-padding "
        icon="home"
      />{{ $t("nav.home_timeline") }}
    </router-link>
    <router-link
      v-if="currentUser || !privateMode"
      class="dropdown-item button-default"
      :to="{ name: 'public-timeline' }"
    >
      <FAIcon
        fixed-width
        class="fa-scale-110 fa-old-padding "
        icon="users"
      />{{ $t("nav.public_tl") }}
    </router-link>
    <router-link
      v-if="federating && (currentUser || !privateMode)"
      class="dropdown-item button-default"
      :to="{ name: 'public-external-timeline' }"
    >
      <FAIcon
        fixed-width
        class="fa-scale-110 fa-old-padding "
        icon="globe"
      />{{ $t("nav.twkn") }}
    </router-link>
    <router-link
      v-if="currentUser"
      class="dropdown-item button-default"
      :to="{ name: 'bookmarks'}"
    >
      <FAIcon
        fixed-width
        class="fa-scale-110 fa-old-padding "
        icon="bookmark"
      />{{ $t("nav.bookmarks") }}
    </router-link>
    <router-link
      v-if="currentUser"
      class="dropdown-item button-default"
      :to="{ name: 'dms', params: { username: currentUser.screen_name } }"
    >
      <FAIcon
        fixed-width
        class="fa-scale-110 fa-old-padding "
        icon="envelope"
      />{{ $t("nav.dms") }}
    </router-link>
  </div>
</template>

<script src="./timeline_menu_content.js" ></script>