summaryrefslogtreecommitdiff
path: root/app/views/admin/_drafts.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-27 02:48:03 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-27 02:48:03 +0200
commit102c33264fd1463cd88aa8245413e7b331dd9632 (patch)
treea8cd6421c0fc467e18bea7c14aa19c9ab5d4dca0 /app/views/admin/_drafts.html.erb
parentc9d347161f329d626595faccbbff4c77e010e678 (diff)
Retire orphaned drafts partial and their translations
Diffstat (limited to 'app/views/admin/_drafts.html.erb')
-rw-r--r--app/views/admin/_drafts.html.erb25
1 files changed, 0 insertions, 25 deletions
diff --git a/app/views/admin/_drafts.html.erb b/app/views/admin/_drafts.html.erb
deleted file mode 100644
index bfdc00a4..00000000
--- a/app/views/admin/_drafts.html.erb
+++ /dev/null
@@ -1,25 +0,0 @@
1<h2><%= t(".title", :size => @drafts.size) %></h2>
2<div id="draft_list">
3 <table>
4 <tr class="header">
5 <th><%= t("admin.columns.id") %></th>
6 <th><%= t("admin.columns.title") %></th>
7 <th><%= t("admin.columns.path") %></th>
8 <th><%= t("admin.columns.author") %></th>
9 <th></th>
10 </tr>
11 <% @drafts.each do |draft| %>
12 <tr>
13 <td><%= draft.id %></td>
14 <td><%= draft.title %></td>
15 <td><%= draft.node.unique_name %></td>
16 <td><%= draft.user.login rescue "" %></td>
17 <td class="actions">
18 <%= link_to t("admin.common.show"), node_path(draft.node) %>
19 <%= link_to t(".revisions"), revision_path(draft.node.id) %>
20 <%= button_to t("nodes.show.publish"), publish_node_path(draft.node), method: :put, form: { data: { confirm: t("nodes.show.confirm_publish") }, class: 'button_to state_changing' } %>
21 </td>
22 </tr>
23 <% end %>
24 </table>
25</div>