2012-01-18 21:14:12 +00:00
|
|
|
= render :partial => 'gollum_includes'
|
|
|
|
= render :partial => 'project_short'
|
2012-01-17 22:28:59 +00:00
|
|
|
|
|
|
|
%a{ :name => "wiki"}
|
|
|
|
.block
|
2012-01-24 20:47:55 +00:00
|
|
|
= render :partial => 'navigation'
|
2012-01-17 22:28:59 +00:00
|
|
|
|
|
|
|
.content
|
|
|
|
#wiki-wrapper.inner
|
|
|
|
#head
|
2012-01-19 14:37:36 +00:00
|
|
|
%h1.title
|
2012-01-17 22:28:59 +00:00
|
|
|
= t("layout.wiki.editing_page")
|
|
|
|
%strong= @name
|
|
|
|
|
|
|
|
%ul.actions
|
2012-01-26 16:26:21 +00:00
|
|
|
- if can? :read, @project
|
|
|
|
%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'
|
2012-01-17 22:28:59 +00:00
|
|
|
|
|
|
|
#wiki-content
|
|
|
|
= render :partial => "editor"
|
|
|
|
|
|
|
|
:javascript
|
|
|
|
jQuery(document).ready(function() {
|
|
|
|
$.GollumEditor();
|
|
|
|
});
|
|
|
|
|
|
|
|
- content_for :sidebar do
|
|
|
|
- render :partial => 'projects/sidebar'
|