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

pull/2826/head
lazzzis 2024-04-16 10:51:27 -07:00 zatwierdzone przez GitHub
rodzic 4ed97dab55
commit ecd7a6f8cb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -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"