2009-08-16 01:09:11 +02:00
|
|
|
- title @page.title, false
|
2009-05-15 17:32:45 +02:00
|
|
|
|
2009-08-16 01:09:11 +02:00
|
|
|
.wiki_version
|
|
|
|
#breadcrump
|
|
|
|
= link_to_wikipage(Page.find_by_permalink("Home"), "Foodcoop-Wiki")
|
|
|
|
- for page in @page.ancestors.reverse
|
|
|
|
%span.wikiSeparator >
|
|
|
|
= link_to_wikipage(page)
|
|
|
|
%span.wikiSeparator >
|
|
|
|
= link_to_wikipage(@page)
|
2009-05-15 17:32:45 +02:00
|
|
|
|
2009-08-16 01:09:11 +02:00
|
|
|
%h1
|
|
|
|
= @page.title
|
|
|
|
|
|
|
|
#sidebar
|
|
|
|
%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
|
2009-05-15 17:32:45 +02:00
|
|
|
|