2012-01-19 13:49:32 +00:00
|
|
|
= render :partial => 'gollum_includes'
|
2012-02-17 14:12:05 +00:00
|
|
|
=# render :partial => 'project_short'
|
|
|
|
= render :partial => 'projects/submenu'
|
2012-01-19 13:49:32 +00:00
|
|
|
|
2012-02-17 14:12:05 +00:00
|
|
|
%h3.wiki
|
|
|
|
- if @name
|
|
|
|
= t("layout.wiki.history_for")
|
|
|
|
%strong= @page.name
|
|
|
|
- else
|
|
|
|
= t("layout.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
|
|
|
|
= link_to t("layout.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-17 14:12:05 +00:00
|
|
|
#wiki-content
|
|
|
|
= render :partial => "compare"
|
2012-01-19 13:49:32 +00:00
|
|
|
|
2012-02-17 14:12:05 +00:00
|
|
|
//%a{ :name => "wiki"}
|
|
|
|
//.block
|
|
|
|
// = render :partial => 'navigation'
|
|
|
|
//
|
|
|
|
// .content
|
|
|
|
// #wiki-wrapper.inner.compare
|
|
|
|
// #head
|
|
|
|
// %h1.title
|
|
|
|
// - if @name
|
|
|
|
// = t("layout.wiki.history_for")
|
|
|
|
// %strong= @page.name
|
|
|
|
// - else
|
|
|
|
// = t("layout.wiki.wiki_history")
|
|
|
|
//
|
|
|
|
// %ul.actions
|
|
|
|
// - if can? :read, @project
|
|
|
|
// %li.minibutton= link_to t("layout.wiki.back_to_history"),
|
|
|
|
// @name ? history_project_wiki_path(@project, escaped_name) : history_project_wiki_index_path(@project)
|
|
|
|
// = render :partial => 'searchbar'
|
|
|
|
//
|
|
|
|
// #wiki-content
|
|
|
|
// = render :partial => "compare"
|
2012-01-19 13:49:32 +00:00
|
|
|
|
|
|
|
- content_for :sidebar do
|
2012-02-17 14:12:05 +00:00
|
|
|
- render :partial => 'sidebar'
|
2012-01-19 13:49:32 +00:00
|
|
|
|