foodsoft/app/views/pages/version.html.haml
2009-06-11 23:51:26 +02:00

11 lines
416 B
Text

- title @page.title
#page-versions{:style => "float:right"}
%b= "Version vom #{format_datetime @version.updated_at}"
%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