logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git

timeline_menu_content.vue (1656B)


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