diff options
| -rw-r--r-- | app/views/nodes/show.html.erb | 2 | ||||
| -rw-r--r-- | public/stylesheets/admin.css | 14 |
2 files changed, 12 insertions, 4 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb index 8b9e98b..5756649 100644 --- a/app/views/nodes/show.html.erb +++ b/app/views/nodes/show.html.erb | |||
| @@ -132,7 +132,6 @@ | |||
| 132 | <details> | 132 | <details> |
| 133 | <summary> | 133 | <summary> |
| 134 | <%= pluralize(@node.pages.count, 'revision', 'revisions') %> | 134 | <%= pluralize(@node.pages.count, 'revision', 'revisions') %> |
| 135 | · <%= link_to 'full history (diff / restore)', node_revisions_path(@node) %> | ||
| 136 | </summary> | 135 | </summary> |
| 137 | <ul> | 136 | <ul> |
| 138 | <% @node.pages.order(:revision).each do |page| %> | 137 | <% @node.pages.order(:revision).each do |page| %> |
| @@ -140,6 +139,7 @@ | |||
| 140 | <% end %> | 139 | <% end %> |
| 141 | </ul> | 140 | </ul> |
| 142 | </details> | 141 | </details> |
| 142 | <p class="revisions_full_history_link"><%= link_to 'Full history (diff / restore)', node_revisions_path(@node) %></p> | ||
| 143 | </div> | 143 | </div> |
| 144 | 144 | ||
| 145 | <div class="node_description">Tags</div> | 145 | <div class="node_description">Tags</div> |
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 1bb6cf4..e4bdac4 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -65,6 +65,14 @@ select { | |||
| 65 | border: 1px solid #989898; | 65 | border: 1px solid #989898; |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | summary { | ||
| 69 | cursor: pointer; | ||
| 70 | } | ||
| 71 | |||
| 72 | summary:hover { | ||
| 73 | background-color: #f7f7f7; | ||
| 74 | } | ||
| 75 | |||
| 68 | input[type=password] { | 76 | input[type=password] { |
| 69 | border: 1px solid #989898; | 77 | border: 1px solid #989898; |
| 70 | } | 78 | } |
| @@ -665,9 +673,9 @@ form.button_to button[type="submit"] { | |||
| 665 | margin-top: 0; | 673 | margin-top: 0; |
| 666 | } | 674 | } |
| 667 | 675 | ||
| 668 | /* Identical declaration block to #search_results p span.result_path / | 676 | .revisions_full_history_link { |
| 669 | #menu_search_results p span.result_path below -- three independent | 677 | margin-bottom: 0; |
| 670 | copies of the same "small gray helper text" style. */ | 678 | } |
| 671 | 679 | ||
| 672 | /* Layout only -- the at-rest visibility (wavy underline) for these | 680 | /* Layout only -- the at-rest visibility (wavy underline) for these |
| 673 | links comes from the scoped rule in Base elements above. */ | 681 | links comes from the scoped rule in Base elements above. */ |
