Commit
f35ac46db4f9261fe3011d8f68f65f8fc0247196
Exists in
master
and in
23 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, merge_deactive_and_ban, news_page, script_to_update, stable, template_mirror_block, tests, tests_fixies
article-version: added file versions_diff.html.erb
AI2822
| @@ -0,0 +1,4 @@ |
| @@ -0,0 +1,4 @@ |
| |
1
| +<h1><%= _('Changes on "%s"') % @page.title %></h1> |
| |
2
| + |
| |
3
| +<p> <%= _('Changes from %s → %s') % [show_time(@v1.updated_at), show_time(@v2.updated_at)] %> </p> |
| |
4
| +<%= Diffy::Diff.new(@v1.body, @v2.body, :context => 1).to_s(:html) %> |