diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 17:45:34 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 17:45:34 +0200 |
| commit | fe104aa2c52f61cd8555fbc98c20501f50f4aae8 (patch) | |
| tree | 4596bfa52d316c05096e176b88fc004409cabbf9 /app/views/menu_items/index.html.erb | |
| parent | 22c690749e154a5426c4f190fbbc08a5dee2eeee (diff) | |
Extract admin strings to i18n: revisions, page_translations, and menu items,
Diffstat (limited to 'app/views/menu_items/index.html.erb')
| -rw-r--r-- | app/views/menu_items/index.html.erb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/menu_items/index.html.erb b/app/views/menu_items/index.html.erb index 591eb68d..cdc60c63 100644 --- a/app/views/menu_items/index.html.erb +++ b/app/views/menu_items/index.html.erb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | <h1>Menu Items</h1> | 1 | <h1><%= t(".title") %></h1> |
| 2 | 2 | ||
| 3 | <%= link_to new_menu_item_path, class: 'action_button' do %> | 3 | <%= link_to new_menu_item_path, class: 'action_button' do %> |
| 4 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create menu item | 4 | <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_item") %> |
| 5 | <% end %> | 5 | <% end %> |
| 6 | 6 | ||
| 7 | <table id="menu_item_list"> | 7 | <table id="menu_item_list"> |
| @@ -11,11 +11,11 @@ | |||
| 11 | <div></div> | 11 | <div></div> |
| 12 | </td> | 12 | </td> |
| 13 | <td class="menu_item_title"><%= menu_item.title %></td> | 13 | <td class="menu_item_title"><%= menu_item.title %></td> |
| 14 | <td><%= link_to "Edit", edit_menu_item_path(menu_item) %></td> | 14 | <td><%= link_to t("admin.common.edit"), edit_menu_item_path(menu_item) %></td> |
| 15 | <td> | 15 | <td> |
| 16 | <%= button_to menu_item_path(menu_item), method: :delete, | 16 | <%= button_to menu_item_path(menu_item), method: :delete, |
| 17 | form: { data: { confirm: "Do you really want to destroy the menu entry?" }, class: 'button_to destructive' } do %> | 17 | form: { data: { confirm: t(".confirm_destroy") }, class: 'button_to destructive' } do %> |
| 18 | <%= icon("trash", library: "tabler", "aria-hidden": true) %> Destroy | 18 | <%= icon("trash", library: "tabler", "aria-hidden": true) %> <%= t("admin.common.destroy") %> |
| 19 | <% end %> | 19 | <% end %> |
| 20 | </td> | 20 | </td> |
| 21 | </tr> | 21 | </tr> |
