summaryrefslogtreecommitdiff
path: root/app/views/page_translations/index.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-14 02:17:04 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-14 02:17:04 +0200
commit88ebeaac7fcf140cbab489e841bf9c197f84c4ea (patch)
treeff97b50deebdaa44eb6a40d8550e912457c2fb8f /app/views/page_translations/index.html.erb
parentc693069db6ddce4582209a1cf60a564f6947bd56 (diff)
Make revisions locale aware
Diffstat (limited to 'app/views/page_translations/index.html.erb')
-rw-r--r--app/views/page_translations/index.html.erb19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/views/page_translations/index.html.erb b/app/views/page_translations/index.html.erb
deleted file mode 100644
index a8c4f5dc..00000000
--- a/app/views/page_translations/index.html.erb
+++ /dev/null
@@ -1,19 +0,0 @@
1<h1>Translations — <%= title_for_node(@node) %></h1>
2
3<div class="node_content node_info_group">
4 <div class="node_info_group_items">
5 <% @translations.each do |t| %>
6 <div class="node_info_item">
7 <span class="node_info_label"><%= t[:locale].to_s.upcase %></span>
8 <% if t[:exists] %>
9 <%= t[:title] %> — updated <%= t[:updated_at] %>
10 <% if t[:outdated] %><span class="warning">may be outdated</span><% end %>
11 <%= link_to 'Edit', edit_node_translation_path(@node, t[:locale]) %>
12 <% else %>
13 <span class="field_hint">Not yet translated.</span>
14 <%= link_to 'Add', edit_node_translation_path(@node, t[:locale]) %>
15 <% end %>
16 </div>
17 <% end %>
18 </div>
19</div>