2012-03-30 13:30:39 +01:00
|
|
|
-set_meta_tags :title => [title_object(@project), @query, t('wiki.searching.title')]
|
2012-02-24 21:37:22 +00:00
|
|
|
/ = render 'gollum_includes'
|
|
|
|
/ = render 'project_short'
|
2012-05-02 10:18:07 +01:00
|
|
|
= render 'submenu'
|
2012-01-19 12:10:50 +00:00
|
|
|
|
2012-02-17 11:13:54 +00:00
|
|
|
- @st_query = capture do
|
|
|
|
%strong= @query
|
2012-02-24 21:37:22 +00:00
|
|
|
%h1.title= raw t("wiki.search_results_for", :query => @st_query)
|
2012-02-17 11:13:54 +00:00
|
|
|
%ul.actions
|
|
|
|
- if can? :read, @project
|
2012-02-24 21:37:22 +00:00
|
|
|
%li.minibutton= link_to t("wiki.home"), project_wiki_index_path(@project), :class => 'action-edit-page'
|
2012-01-19 12:10:50 +00:00
|
|
|
|
2012-02-24 21:37:22 +00:00
|
|
|
= render "results"
|
2012-01-19 12:10:50 +00:00
|
|
|
|
|
|
|
- content_for :sidebar do
|
2012-02-24 21:37:22 +00:00
|
|
|
- render 'sidebar'
|