logo

pleroma-fe

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

user_list_menu.vue (949B)


  1. <template>
  2. <div class="UserListMenu">
  3. <Popover
  4. trigger="hover"
  5. placement="left"
  6. remove-padding
  7. >
  8. <template #content>
  9. <div class="dropdown-menu">
  10. <button
  11. v-for="list in lists"
  12. :key="list.id"
  13. class="menu-item dropdown-item"
  14. @click="toggleList(list.id)"
  15. >
  16. <span
  17. class="input menu-checkbox"
  18. :class="{ 'menu-checkbox-checked': list.inList }"
  19. />
  20. {{ list.title }}
  21. </button>
  22. </div>
  23. </template>
  24. <template #trigger>
  25. <button class="menu-item dropdown-item -has-submenu">
  26. {{ $t('lists.manage_lists') }}
  27. <FAIcon
  28. class="chevron-icon"
  29. size="lg"
  30. icon="chevron-right"
  31. />
  32. </button>
  33. </template>
  34. </Popover>
  35. </div>
  36. </template>
  37. <script src="./user_list_menu.js"></script>