diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 19:28:49 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 19:28:49 +0200 |
| commit | 0113d895e2fd8bf2cf88ae0196b9ab144ac9350b (patch) | |
| tree | 9e553be1a3681654834231d73e1bf4d2108d61d5 /app/views | |
| parent | 6e6a66de5f648becd6aee00943d52cd9ce024ed3 (diff) | |
Remove redundant default translation from the translations subsection
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/nodes/show.html.erb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index e6a922b..1469572 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb | |||
| @@ -73,10 +73,6 @@ | |||
| 73 | <div class="node_description">Translations</div> | 73 | <div class="node_description">Translations</div> |
| 74 | <div class="node_content node_info_group"> | 74 | <div class="node_content node_info_group"> |
| 75 | <div class="node_info_group_items"> | 75 | <div class="node_info_group_items"> |
| 76 | <div class="node_info_item"> | ||
| 77 | <span class="node_info_label"><%= I18n.default_locale.to_s.upcase %> (default)</span> | ||
| 78 | <%= @page.title %> — updated <%= @default_translation&.updated_at || @page.updated_at %> | ||
| 79 | </div> | ||
| 80 | <% @translations.each do |t| %> | 76 | <% @translations.each do |t| %> |
| 81 | <div class="node_info_item"> | 77 | <div class="node_info_item"> |
| 82 | <span class="node_info_label"><%= t[:locale].to_s.upcase %></span> | 78 | <span class="node_info_label"><%= t[:locale].to_s.upcase %></span> |
