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
|
|
|
|
.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)
|
2012-01-19 23:04:11 +00:00
|
|
|
%li= link_to t("layout.wiki.wiki_history"), history_project_wiki_index_path(@project)
|
2012-01-20 15:01:59 +00:00
|
|
|
%li= link_to t("layout.wiki.git_access"), git_project_wiki_index_path(@project)
|
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
|
|
|
|
%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'
|