2013-04-12 00:58:38 +02:00
|
|
|
- title t('.title', title: @page.title, version: @version.lock_version)
|
2009-05-15 17:32:45 +02:00
|
|
|
|
2012-10-09 02:31:10 +02:00
|
|
|
- content_for :sidebar do
|
2013-04-12 00:58:38 +02:00
|
|
|
%h3= t '.title_version'
|
|
|
|
%b= "#{format_datetime_timespec(@version.updated_at, t('.date_format'))}"
|
2012-10-09 02:31:10 +02:00
|
|
|
%ul
|
2017-09-26 13:11:58 +02:00
|
|
|
%li= t '.author', user: show_user(User.find_by(id: @version.updated_by))
|
2013-04-12 00:58:38 +02:00
|
|
|
%li= link_to t('.view_current'), wiki_page_path(:permalink => @page.permalink)
|
|
|
|
%li= link_to t('.revert'), revert_page_path(@page, :version => @version.lock_version)
|
2009-05-15 17:32:45 +02:00
|
|
|
|
2012-10-09 02:31:10 +02:00
|
|
|
= wikified_body @version.body
|