2017-06-12 07:47:46 -04:00
- @content_class = "limit-container-width limit-container-width-sm" unless fluid_layout
2017-07-12 04:16:32 -04:00
- breadcrumb_title "Wiki"
2015-09-17 06:16:24 -04:00
- page_title @page.title.capitalize, "Wiki"
2015-09-08 04:23:09 -04:00
2017-06-12 07:47:46 -04:00
.wiki-page-header.has-sidebar-toggle
%button.btn.btn-default.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left')
2016-11-14 16:33:21 -05:00
2017-06-12 07:47:46 -04:00
.wiki-breadcrumb
%span= breadcrumb(@page.slug)
2016-12-26 22:44:03 -05:00
2017-06-12 07:47:46 -04:00
.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-07-27 17:41:31 -04:00
2017-06-12 07:47:46 -04:00
.nav-controls
= render 'main_links'
2016-02-07 11:57:28 -05:00
2017-06-12 07:47:46 -04:00
- if @page.historical?
.warning_message
This is an old version of this page.
2017-06-29 13:06:35 -04:00
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)}.
2013-01-11 15:04:21 -05:00
2017-06-12 07:47:46 -04:00
.wiki-holder.prepend-top-default.append-bottom-default
.wiki
= render_wiki_content(@page)
2016-11-14 16:33:21 -05:00
= render 'sidebar'