2015-09-17 06:16:24 -04:00
- page_title @page.title.capitalize, "Wiki"
= render "header_title"
2013-06-23 12:47:22 -04:00
= render 'nav'
2015-09-08 04:23:09 -04:00
.gray-content-block
2013-06-22 08:04:49 -04:00
= render 'main_links'
2015-09-08 04:23:09 -04:00
%h3.page-title
= @page.title.capitalize
2015-07-27 17:41:31 -04:00
2015-09-08 04:23:09 -04:00
.wiki-last-edit-by
Last edited by #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}
2015-07-27 17:41:31 -04:00
2014-04-09 07:35:01 -04:00
- if @page.historical?
2013-01-11 15:04:21 -05:00
.warning_message
2013-03-15 08:20:03 -04:00
This is an old version of this page.
2015-09-01 20:57:56 -04:00
You can view the #{link_to "most recent version", namespace_project_wiki_path(@project.namespace, @project, @page)} or browse the #{link_to "history", namespace_project_wiki_history_path(@project.namespace, @project, @page)}.
2013-01-11 15:04:21 -05:00
2013-12-29 11:13:16 -05:00
2015-09-08 04:23:09 -04:00
.wiki-holder.prepend-top-default
2013-12-29 11:13:16 -05:00
.wiki
2013-03-15 08:20:03 -04:00
= preserve do
2014-04-09 07:35:01 -04:00
= render_wiki_content(@page)
2012-02-20 12:16:55 -05:00
2015-09-08 04:23:09 -04:00
.gray-content-block.footer-block
.wiki-last-edit-by
Last edited by #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}
2015-07-27 17:41:31 -04:00