31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
= render :partial => 'gollum_includes'
|
|
= render :partial => 'project_short'
|
|
|
|
%a{ :name => "wiki"}
|
|
.block
|
|
= render :partial => 'navigation'
|
|
|
|
.content
|
|
.inner
|
|
#wiki-wrapper.page
|
|
#head
|
|
%h1.title
|
|
= @page.name
|
|
= "(#{t("layout.wiki.preview")})" if action_name == 'preview'
|
|
- unless action_name == 'preview'
|
|
%ul.actions
|
|
- if can? :write, @project
|
|
%li.minibutton.jaws
|
|
= link_to t("layout.wiki.new_page"), '#', :'data-url' => project_wiki_index_path(@project),
|
|
:id => 'minibutton-new-page'
|
|
- if @editable
|
|
%li.minibutton
|
|
= link_to t("layout.wiki.edit_page"), edit_project_wiki_path(@project, escaped_name), :class => "action-edit-page"
|
|
%li.minibutton= link_to t("layout.wiki.page_history"), history_project_wiki_path(@project, escaped_name)
|
|
= render :partial => 'searchbar'
|
|
|
|
= render :partial => "page"
|
|
|
|
- content_for :sidebar do
|
|
- render :partial => 'projects/sidebar'
|