2012-03-30 13:30:39 +01:00
|
|
|
-set_meta_tags :title => [title_object(@project), t('.title')]
|
2012-02-24 21:37:22 +00:00
|
|
|
= render 'gollum_includes'
|
|
|
|
/ = render 'project_short'
|
2012-05-02 10:18:07 +01:00
|
|
|
= render 'submenu'
|
2012-01-19 13:49:32 +00:00
|
|
|
|
2012-02-17 14:12:05 +00:00
|
|
|
%h3.wiki
|
|
|
|
- if @name
|
2012-02-24 21:37:22 +00:00
|
|
|
= t("wiki.history_for")
|
2012-02-17 14:12:05 +00:00
|
|
|
%strong= @page.name
|
|
|
|
- else
|
2012-02-24 21:37:22 +00:00
|
|
|
= t("wiki.wiki_history")
|
2012-01-19 13:49:32 +00:00
|
|
|
|
2012-02-20 10:27:58 +00:00
|
|
|
%br
|
|
|
|
%br
|
|
|
|
|
2012-02-17 14:12:05 +00:00
|
|
|
.r
|
|
|
|
- if can? :read, @project
|
2012-02-24 21:37:22 +00:00
|
|
|
= link_to t("wiki.back_to_history"), @name ? history_project_wiki_path(@project, escaped_name) : history_project_wiki_index_path(@project), :class => 'button width100'
|
2012-01-19 13:49:32 +00:00
|
|
|
|
2012-02-24 21:37:22 +00:00
|
|
|
#wiki-content= render "compare"
|
2012-01-19 13:49:32 +00:00
|
|
|
|
|
|
|
- content_for :sidebar do
|
2012-02-24 21:37:22 +00:00
|
|
|
- render 'sidebar'
|