rosa-build/app/views/wiki/search.html.haml

26 lines
731 B
Plaintext
Raw Normal View History

2012-01-19 12:10:50 +00:00
= render :partial => 'gollum_includes'
= render :partial => 'project_short'
%a{ :name => "wiki"}
.block
= render :partial => 'navigation'
2012-01-19 12:10:50 +00:00
.content
.inner
#wiki-wrapper.results
#head
2012-01-19 14:37:36 +00:00
- @st_query = capture do
%strong= @query
%h1.title= raw t("layout.wiki.search_results_for", :query => @st_query)
2012-01-19 12:10:50 +00:00
%ul.actions
2012-01-26 16:26:21 +00:00
- 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
= render :partial => 'searchbar'
= render :partial => "results"
- content_for :sidebar do
- render :partial => 'projects/sidebar'