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.
This commit is contained in:
Toks
2014-07-22 00:33:39 -04:00
parent 1fc96ba2c3
commit c4f7d4d389

View File

@@ -2,7 +2,7 @@
<div id="a-diff">
<h1>Wiki Page: <%= @thispage.title %></h1>
<p>Showing differences between <%= compact_time @thispage.created_at %> (<%= link_to_user @thispage.updater %>) and <%= compact_time @otherpage.created_at %> (<%= link_to_user @otherpage.updater %>)</p>
<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>