2017-09-10 17:25:29 +05:30
- @content_class = "limit-container-width limit-container-width-sm" unless fluid_layout
- breadcrumb_title "Wiki"
2015-09-25 12:07:36 +05:30
- page_title @page.title.capitalize, "Wiki"
2017-09-10 17:25:29 +05:30
.wiki-page-header.has-sidebar-toggle
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left')
2017-08-17 22:00:37 +05:30
2017-09-10 17:25:29 +05:30
.wiki-breadcrumb
%span= breadcrumb(@page.slug)
2015-09-11 14:41:01 +05:30
2017-09-10 17:25:29 +05:30
.nav-text
%h2.wiki-page-title= @page.title.capitalize
%span.wiki-last-edit-by
Last edited by
%strong
#{@page.commit.author.name}
#{time_ago_with_tooltip(@page.commit.authored_date)}
2015-09-11 14:41:01 +05:30
2017-09-10 17:25:29 +05:30
.nav-controls
= render 'main_links'
2016-04-02 18:10:28 +05:30
2017-09-10 17:25:29 +05:30
- if @page.historical?
.warning_message
This is an old version of this page.
You can view the #{link_to "most recent version", project_wiki_path(@project, @page)} or browse the #{link_to "history", project_wiki_history_path(@project, @page)}.
2014-09-02 18:07:02 +05:30
2017-09-10 17:25:29 +05:30
.wiki-holder.prepend-top-default.append-bottom-default
.wiki
= render_wiki_content(@page)
2017-08-17 22:00:37 +05:30
= render 'sidebar'