foodsoft/app/views/pages/version.html.haml
2012-10-09 02:31:10 +02:00

11 lines
480 B
Text

- title "#{@page.title} - Version #{@version.lock_version}"
- content_for :sidebar do
%h3 Version
%b= "#{format_datetime_timespec(@version.updated_at, "%a, %d.%m.%Y, %H:%M Uhr") }"
%ul
%li= "Autor: #{User.find(@version.updated_by).nick}"
%li= link_to "Aktuelle Version sehen", wiki_page_path(:permalink => @page.permalink)
%li= link_to "Auf diese Version zurücksetzen", revert_page_path(@page, :version => @version.lock_version)
= wikified_body @version.body