- Changed to using the diff-body CSS class -- Removed unnecessary elements from the CSS style file - Does a symmetric difference on the array fields to detect differences - Add more descriptors to the status/changes column - Specifically add <br> to statuses to cause line breaks
17 lines
590 B
Plaintext
17 lines
590 B
Plaintext
<% page_title "Wiki Comparison: #{@thispage.pretty_title.titleize}" %>
|
|
|
|
<%= render "wiki_pages/secondary_links" %>
|
|
<%= render "wiki_pages/sidebar" %>
|
|
|
|
<% content_for(:content) do %>
|
|
<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>
|
|
|
|
<%= wiki_other_names_diff(@thispage, @otherpage) %>
|
|
|
|
<div class="diff-body">
|
|
<%= diff_body_html(@thispage, @otherpage, :body) %>
|
|
</div>
|
|
<% end %>
|