Files
danbooru/app/views/wiki_page_versions/diff.html.erb
Toks c4f7d4d389 Fix wiki version date display bug for old edits
It seems that in Danbooru 1 wiki page version's created_at was always
the initial created_at of the wiki page itself, as opposed to the time
that the edit was made like in Danbooru 2.
2014-07-22 00:33:39 -04:00

20 lines
644 B
Plaintext

<div id="c-wiki-pages">
<div id="a-diff">
<h1>Wiki Page: <%= @thispage.title %></h1>
<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>
<p><%= wiki_page_other_names_diff(@thispage, @otherpage) %></p>
<div>
<%= wiki_page_diff(@thispage, @otherpage) %>
</div>
</div>
</div>
<%= render "wiki_pages/secondary_links" %>
<% content_for(:page_title) do %>
Wiki Page Versions Comparison - <%= @thispage.pretty_title %> - <%= Danbooru.config.app_name %>
<% end %>