Add diff for wiki pages

This commit is contained in:
Patrick Gansterer 2016-03-06 21:05:06 +01:00
parent f5b6fbcf18
commit ad036c948f
6 changed files with 34 additions and 6 deletions

View file

@ -0,0 +1,7 @@
- title t('.title', title: @page.title, old: @old_version.lock_version, new: @new_version.lock_version)
%style= Diffy::CSS
= raw @diff
%hr
= link_to t('ui.back'), 'javascript:history.go(-1)', class: 'btn btn-primary'