Commit
f35ac46db4f9261fe3011d8f68f65f8fc0247196
Exists in
staging
and in
26 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email, tasks_keep_filter_params
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) %> |