diff --git a/web/locales/cs/main.ftl b/web/locales/cs/main.ftl index 8a7531c5..7ddb76af 100644 --- a/web/locales/cs/main.ftl +++ b/web/locales/cs/main.ftl @@ -133,6 +133,7 @@ admin-no-profile-tables = Tento profil nemá vlastní tabulky. admin-no-dependencies = Bez závislostí admin-depends-on-prefix = Závisí na admin-row-display-prefix = zobrazení: +admin-add-columns = Přidat sloupce admin-column-presentation = Aliasy sloupců admin-delete-table = Smazat tabulku admin-who-may-use-it = Kdo ji může používat diff --git a/web/locales/en/main.ftl b/web/locales/en/main.ftl index 91a42c10..053c9361 100644 --- a/web/locales/en/main.ftl +++ b/web/locales/en/main.ftl @@ -137,6 +137,7 @@ admin-no-profile-tables = This profile has no tables of its own. admin-no-dependencies = No dependencies admin-depends-on-prefix = Depends on admin-row-display-prefix = display: +admin-add-columns = Add columns admin-column-presentation = Column aliases admin-delete-table = Delete table admin-who-may-use-it = Who may use it diff --git a/web/locales/sk/main.ftl b/web/locales/sk/main.ftl index e2a2b20c..6a4b4774 100644 --- a/web/locales/sk/main.ftl +++ b/web/locales/sk/main.ftl @@ -133,6 +133,7 @@ admin-no-profile-tables = Tento profil nemá vlastné tabuľky. admin-no-dependencies = Bez závislostí admin-depends-on-prefix = Závisí od admin-row-display-prefix = zobrazenie: +admin-add-columns = Pridať stĺpce admin-column-presentation = Aliasy stĺpcov admin-delete-table = Vymazať tabuľku admin-who-may-use-it = Kto ju môže používať diff --git a/web/src/pages/admin/admin/ui.rs b/web/src/pages/admin/admin/ui.rs index ae20723b..71d74088 100644 --- a/web/src/pages/admin/admin/ui.rs +++ b/web/src/pages/admin/admin/ui.rs @@ -156,6 +156,7 @@ mod tests { let html = render_workspace(&page); for route in [ + "/admin/tables/columns/add?profile=books&table=invoice", "/admin/tables/presentation?profile=books&table=invoice", "/admin/tables/delete?profile=books&table=invoice", "/admin/tables/new?profile=books", diff --git a/web/templates/pages/admin/admin/workspace.html b/web/templates/pages/admin/admin/workspace.html index 913b34c8..4120d1c5 100644 --- a/web/templates/pages/admin/admin/workspace.html +++ b/web/templates/pages/admin/admin/workspace.html @@ -58,6 +58,7 @@ {% if page.selected_table.as_deref() == Some(table.name.as_str()) %}
{% if page.can_manage_tables && !table.is_system() %} + {{ nav.tr("admin-add-columns") }} {{ nav.tr("admin-column-presentation") }} {{ nav.tr("admin-delete-table") }} {% endif %}