2012-02-17 11:13:54 +00:00
|
|
|
=# render :partial => 'gollum_includes'
|
|
|
|
=# render :partial => 'project_short'
|
|
|
|
= render :partial => 'projects/submenu'
|
2012-01-18 15:06:58 +00:00
|
|
|
|
2012-02-17 11:13:54 +00:00
|
|
|
- if can? :write, @project
|
|
|
|
.r
|
|
|
|
= link_to t("layout.wiki.new_page"), '#', :'data-url' => project_wiki_index_path(@project),
|
|
|
|
:id => 'minibutton-new-page', :class => 'button width100'
|
|
|
|
.both
|
|
|
|
= render :partial => "results"
|
2012-01-18 15:06:58 +00:00
|
|
|
|
2012-02-17 11:13:54 +00:00
|
|
|
-# .content
|
|
|
|
-# .inner
|
|
|
|
-# #wiki-wrapper.results
|
|
|
|
-# #head
|
|
|
|
-# - @st_ref = capture do
|
|
|
|
-# %strong= @ref
|
|
|
|
-# %h1.title= raw t("layout.wiki.all_pages_in")
|
|
|
|
-# %ul.actions
|
|
|
|
-# - if can? :read, @project
|
|
|
|
-# %li.minibutton
|
|
|
|
-# = link_to t("layout.wiki.home"), project_wiki_index_path(@project),
|
|
|
|
-# :class => 'action-edit-page'
|
|
|
|
-# = render :partial => 'searchbar'
|
|
|
|
-#
|
|
|
|
-# = render :partial => "results"
|
2012-01-18 15:06:58 +00:00
|
|
|
|
|
|
|
- content_for :sidebar do
|
2012-02-17 11:13:54 +00:00
|
|
|
- render :partial => 'sidebar'
|