<div id="c-wiki-page-versions">
  <div id="a-diff">
    <h1>Wiki Page: <%= @thispage.title %></h1>

    <% if @thispage.visible? %>
      <p>Showing differences between <%= compact_time @thispage.updated_at %> (<%= link_to_user @thispage.updater %>) and <%= compact_time @otherpage.updated_at %> (<%= link_to_user @otherpage.updater %>)</p>

      <div>
        <%= wiki_page_diff(@thispage, @otherpage) %>
      </div>
    <% else %>
      <p>The artist requested removal of this page.</p>
    <% end %>
  </div>
</div>

<%= render "wiki_pages/secondary_links" %>

<% content_for(:page_title) do %>
  Wiki Page Versions Comparison - <%= @thispage.pretty_title %> - <%= Danbooru.config.app_name %>
<% end %>
