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

38 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-01-18 21:14:12 +00:00
= render :partial => 'gollum_includes'
= render :partial => 'project_short'
%a{ :name => "wiki"}
.block
.secondary-navigation
%ul.wat-cf
%li.first= link_to t("layout.wiki.home"), project_wiki_index_path(@project)
%li= link_to t("layout.wiki.pages"), pages_project_wiki_index_path(@project)
%li= link_to t("layout.wiki.wiki_history"), '#'
%li= link_to t("layout.wiki.git_access"), '#'
.content
#wiki-wrapper.inner
#head
%h1
= t("layout.wiki.editing_page")
%strong= @name
%ul.actions
%li.minibutton
= link_to t("layout.wiki.view_page"), view_path(@project, escaped_name),
:class => 'action-view-page'
%li.minibutton
= link_to t("layout.wiki.page_history"), history_project_wiki_path(@project, escaped_name),
:class => 'aciton-view-history'
#wiki-content
= render :partial => "editor"
:javascript
jQuery(document).ready(function() {
$.GollumEditor();
});
- content_for :sidebar do
- render :partial => 'projects/sidebar'