2012-02-17 11:13:54 +00:00
|
|
|
=# render :partial => 'gollum_includes'
|
|
|
|
=# render :partial => 'project_short'
|
|
|
|
= render :partial => 'projects/submenu'
|
2012-01-19 12:10:50 +00:00
|
|
|
|
2012-02-17 11:13:54 +00:00
|
|
|
- @st_query = capture do
|
|
|
|
%strong= @query
|
|
|
|
%h1.title= raw t("layout.wiki.search_results_for", :query => @st_query)
|
|
|
|
%ul.actions
|
|
|
|
- if can? :read, @project
|
|
|
|
%li.minibutton
|
|
|
|
= link_to t("layout.wiki.home"), project_wiki_index_path(@project),
|
|
|
|
:class => 'action-edit-page'
|
2012-01-19 12:10:50 +00:00
|
|
|
|
2012-02-17 11:13:54 +00:00
|
|
|
= render :partial => "results"
|
2012-01-19 12:10:50 +00:00
|
|
|
|
|
|
|
- content_for :sidebar do
|
2012-02-17 11:13:54 +00:00
|
|
|
- render :partial => 'sidebar'
|
|
|
|
|
|
|
|
-#%a{ :name => "wiki"}
|
|
|
|
-#.block
|
|
|
|
-# = render :partial => 'navigation'
|
|
|
|
-#
|
|
|
|
-# .content
|
|
|
|
-# .inner
|
|
|
|
-# #wiki-wrapper.results
|
|
|
|
-# #head
|
|
|
|
-# - @st_query = capture do
|
|
|
|
-# %strong= @query
|
|
|
|
-# %h1.title= raw t("layout.wiki.search_results_for", :query => @st_query)
|
|
|
|
-# %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"
|