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

30 lines
790 B
Plaintext
Raw Normal View History

= render :partial => 'gollum_includes'
= render :partial => 'project_short'
%a{ :name => "wiki"}
.block
= render :partial => 'navigation'
.content
#wiki-wrapper.inner.compare
#head
2012-01-19 14:37:36 +00:00
%h1.title
- if @name
= t("layout.wiki.history_for")
2012-01-28 01:56:27 +00:00
%strong= @page.name
- else
= t("layout.wiki.wiki_history")
%ul.actions
2012-01-26 16:26:21 +00:00
- if can? :read, @project
%li.minibutton= link_to t("layout.wiki.back_to_history"),
@name ? history_project_wiki_path(@project, escaped_name) : history_project_wiki_index_path(@project)
= render :partial => 'searchbar'
#wiki-content
= render :partial => "compare"
- content_for :sidebar do
- render :partial => 'projects/sidebar'