diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/nodes/show.html.erb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index d0eff60..ae25571 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb | |||
| @@ -170,11 +170,11 @@ | |||
| 170 | </div> | 170 | </div> |
| 171 | </div> | 171 | </div> |
| 172 | 172 | ||
| 173 | <div class="node_description">Revisions</div> | 173 | <div class="node_description">History</div> |
| 174 | <div class="node_content node_info_group"> | 174 | <div class="node_content node_info_group"> |
| 175 | <details> | 175 | <details> |
| 176 | <summary> | 176 | <summary> |
| 177 | <%= pluralize(@node.pages.count, 'revision', 'revisions') %> | 177 | <%= pluralize(@node.pages.count, 'published revision', 'published revisions') %> |
| 178 | </summary> | 178 | </summary> |
| 179 | <ul> | 179 | <ul> |
| 180 | <% @node.pages.order(:revision).each do |page| %> | 180 | <% @node.pages.order(:revision).each do |page| %> |
| @@ -182,8 +182,7 @@ | |||
| 182 | <% end %> | 182 | <% end %> |
| 183 | </ul> | 183 | </ul> |
| 184 | </details> | 184 | </details> |
| 185 | <p class="revisions_full_history_link"><%= link_to 'Full history (diff / restore)', node_revisions_path(@node) %></p> | 185 | <p class="revisions_full_history_link"><%= link_to 'Revision history (diff / restore)', node_revisions_path(@node) %> | <%= link_to t("node_actions.heading"), admin_log_path(:node_id => @node.id) %></p> |
| 186 | <p class)"revisions_full_history_link"><%= link_to t("node_actions.heading"), admin_log_path(:node_id => @node.id) %></p> | ||
| 187 | </div> | 186 | </div> |
| 188 | 187 | ||
| 189 | 188 | ||
