2012-01-18 21:14:12 +00:00
|
|
|
= render :partial => 'gollum_includes'
|
|
|
|
= render :partial => 'project_short'
|
2012-01-18 15:06:58 +00:00
|
|
|
|
|
|
|
%a{ :name => "wiki"}
|
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
|
|
|
%li.first{:class => "#{(@name == 'Home') ? 'active' : ''}" }
|
|
|
|
= link_to t("layout.wiki.home"), project_wiki_index_path(@project)
|
|
|
|
%li.active= link_to t("layout.wiki.pages"), pages_project_wiki_index_path(@project)
|
2012-01-19 23:04:11 +00:00
|
|
|
%li= link_to t("layout.wiki.wiki_history"), history_project_wiki_index_path(@project)
|
2012-01-20 15:01:59 +00:00
|
|
|
%li= link_to t("layout.wiki.git_access"), git_project_wiki_index_path(@project)
|
2012-01-18 15:06:58 +00:00
|
|
|
|
|
|
|
.content
|
|
|
|
.inner
|
|
|
|
#wiki-wrapper.results
|
|
|
|
#head
|
2012-01-19 14:37:36 +00:00
|
|
|
- @st_ref = capture do
|
|
|
|
%strong= @ref
|
|
|
|
%h1.title= raw t("layout.wiki.all_pages_in", :ref => @st_ref)
|
2012-01-18 15:06:58 +00:00
|
|
|
%ul.actions
|
|
|
|
%li.minibutton
|
|
|
|
= link_to t("layout.wiki.home"), project_wiki_index_path(@project),
|
|
|
|
:class => 'action-edit-page'
|
|
|
|
= render :partial => 'searchbar'
|
|
|
|
|
|
|
|
= render :partial => "results"
|
|
|
|
|
|
|
|
- content_for :sidebar do
|
|
|
|
- render :partial => 'projects/sidebar'
|