summaryrefslogtreecommitdiff
path: root/app/views/admin/index.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-23 18:04:37 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-23 18:04:37 +0200
commit6424e10be5a89f175a74c71c55660412a169b8b8 (patch)
treeae8c8111bd1e8c6e82c0a5f9a2c4b088c92bafe5 /app/views/admin/index.html.erb
parent375ed745052148faeb34763087fe04214105f1b8 (diff)
Update deployed state to what's currently running
Diffstat (limited to 'app/views/admin/index.html.erb')
-rw-r--r--app/views/admin/index.html.erb18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/admin/index.html.erb b/app/views/admin/index.html.erb
index edad1d6..2741db3 100644
--- a/app/views/admin/index.html.erb
+++ b/app/views/admin/index.html.erb
@@ -1,14 +1,14 @@
1<div id="admin_wizard"> 1<div id="admin_wizard">
2 <%= link_to 'Create Update or Pressemitteilung', new_node_path, :only_path => false %> 2 <div class="admin_wizard_button"><%= link_to 'Create Update or Pressemitteilung', new_node_path, :only_path => false %></div>
3 <a href="#" id="admin_wizard_my_work" class="admin_wizard_button button">Continue my work</a> 3 <div class="admin_wizard_button"><a href="#" id="admin_wizard_my_work" class="button">Continue my work</a></div>
4 <a href="#" id="admin_wizard_create_page" class="admin_wizard_button button">Add a page in the page tree</a> 4 <div class="admin_wizard_button"><a href="#" id="admin_wizard_create_page" class="button">Add a page in the page tree</a></div>
5 <%= link_to("Upload a new asset", new_asset_path, :only_path => false) %> 5 <div class="admin_wizard_button"><%= link_to("Upload a new asset", new_asset_path, :only_path => false) %></div>
6</div> 6</div>
7 7
8<p id="overview_toggle"> 8<p id="overview_toggle">
9 <a href="#" id="recent_changes_toggle" class="button">recent changes</a> 9 <a href="#" id="recent_changes_toggle" class="button">recent changes</a>
10 <a href="#" id="my_work_toggle" class="button">my work</a> 10 <a href="#" id="my_work_toggle" class="button">my work</a>
11 <a href="#" id="current_drafts_toggle" class="button">current drafts</a> 11 <a href="#" id="current_drafts_toggle" class="button">current drafts (<%= @drafts_count %>)</a>
12 <a href="#" id="admin_sitemap_toggle" class="button">site map</a> 12 <a href="#" id="admin_sitemap_toggle" class="button">site map</a>
13</p> 13</p>
14 14
@@ -39,7 +39,7 @@
39 <%= node.lock_owner.login if node.lock_owner %> 39 <%= node.lock_owner.login if node.lock_owner %>
40 </td> 40 </td>
41 <td> 41 <td>
42 <%= node.draft ? node.draft.revision : node.head.revision %> 42 <%= link_to ( node.draft ? node.draft.revision : (node.head ? node.head.revision : "EMPTY" ) ), node_revisions_path(node) %>
43 </td> 43 </td>
44 </tr> 44 </tr>
45 <% end %> 45 <% end %>
@@ -73,7 +73,7 @@
73 <%= node.lock_owner.login if node.lock_owner %> 73 <%= node.lock_owner.login if node.lock_owner %>
74 </td> 74 </td>
75 <td> 75 <td>
76 <%= node.draft ? node.draft.revision : node.head.revision %> 76 <%= link_to ( node.draft ? node.draft.revision : (node.head ? node.head.revision : "EMPTY" ) ), node_revisions_path(node) %>
77 </td> 77 </td>
78 </tr> 78 </tr>
79 <% end %> 79 <% end %>
@@ -107,7 +107,7 @@
107 <%= node.lock_owner.login if node.lock_owner %> 107 <%= node.lock_owner.login if node.lock_owner %>
108 </td> 108 </td>
109 <td> 109 <td>
110 <%= node.draft ? node.draft.revision : ( node.head ? node.head.revision : "EMPTY" ) %> 110 <%= link_to ( node.draft ? node.draft.revision : (node.head ? node.head.revision : "EMPTY" ) ), node_revisions_path(node) %>
111 </td> 111 </td>
112 </tr> 112 </tr>
113 <% end %> 113 <% end %>
@@ -135,7 +135,7 @@
135 </td> 135 </td>
136 <td class="actions"> 136 <td class="actions">
137 <%= link_to 'create subpage', new_node_path(:parent_id => node.id) %> 137 <%= link_to 'create subpage', new_node_path(:parent_id => node.id) %>
138 <%= link_to ':: Revisions', node_revisions_path(node) %> 138 <%= link_to 'Revisions', node_revisions_path(node) %>
139 </td> 139 </td>
140 <td> 140 <td>
141 <%= node.lock_owner.login if node.lock_owner %> 141 <%= node.lock_owner.login if node.lock_owner %>