1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-19 23:40:07 +00:00

feat(ui): add manage list at the end of the lists (#2824)

This commit is contained in:
lazzzis 2024-04-16 10:51:27 -07:00 committed by GitHub
parent 4ed97dab55
commit ecd7a6f8cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 1 deletions

View file

@ -30,7 +30,7 @@ async function edit(listId: string) {
</script> </script>
<template> <template>
<CommonPaginator :end-message="false" :paginator="paginator"> <CommonPaginator :paginator="paginator">
<template #default="{ item }"> <template #default="{ item }">
<div p4 hover:bg-active block w="100%" flex justify-between items-center gap-4> <div p4 hover:bg-active block w="100%" flex justify-between items-center gap-4>
<p>{{ item.title }}</p> <p>{{ item.title }}</p>
@ -49,5 +49,13 @@ async function edit(listId: string) {
</CommonTooltip> </CommonTooltip>
</div> </div>
</template> </template>
<template #done>
<NuxtLink
p4 hover:bg-active block w="100%" flex justify-between items-center gap-4
to="/lists"
>
<p>{{ $t('list.manage') }}</p>
</NuxtLink>
</template>
</CommonPaginator> </CommonPaginator>
</template> </template>

View file

@ -222,6 +222,7 @@
"error": "There was an error while creating the list", "error": "There was an error while creating the list",
"error_prefix": "Error: ", "error_prefix": "Error: ",
"list_title_placeholder": "List title", "list_title_placeholder": "List title",
"manage": "Manage lists",
"modify_account": "Modify lists with account", "modify_account": "Modify lists with account",
"remove_account": "Remove account from list", "remove_account": "Remove account from list",
"save": "Save changes" "save": "Save changes"