diff options
| -rw-r--r-- | app/views/revisions/diff.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/revisions/diff.html.erb b/app/views/revisions/diff.html.erb index 149b17c..7e7b729 100644 --- a/app/views/revisions/diff.html.erb +++ b/app/views/revisions/diff.html.erb | |||
| @@ -56,7 +56,7 @@ | |||
| 56 | <% end %> | 56 | <% end %> |
| 57 | 57 | ||
| 58 | <% if @available_layer_pairs.present? %> | 58 | <% if @available_layer_pairs.present? %> |
| 59 | <p class="node_action_bar standalone_action_bar"> | 59 | <div class="node_action_bar standalone_action_bar"> |
| 60 | <% @available_layer_pairs.each do |pair| %> | 60 | <% @available_layer_pairs.each do |pair| %> |
| 61 | <% next if [params[:start_revision].to_s, params[:end_revision].to_s].sort == pair.map(&:to_s).sort %> | 61 | <% next if [params[:start_revision].to_s, params[:end_revision].to_s].sort == pair.map(&:to_s).sort %> |
| 62 | <%= button_to "Diff #{pair.first.to_s.capitalize} vs. #{pair.last.to_s.capitalize}", | 62 | <%= button_to "Diff #{pair.first.to_s.capitalize} vs. #{pair.last.to_s.capitalize}", |
| @@ -73,7 +73,7 @@ | |||
| 73 | <%= @node.draft && !@node.autosave ? "Destroy Draft" : "Discard Autosave" %> | 73 | <%= @node.draft && !@node.autosave ? "Destroy Draft" : "Discard Autosave" %> |
| 74 | <% end %> | 74 | <% end %> |
| 75 | <% end %> | 75 | <% end %> |
| 76 | </p> | 76 | </div> |
| 77 | <% end %> | 77 | <% end %> |
| 78 | 78 | ||
| 79 | <div id="diffview"> | 79 | <div id="diffview"> |
