gitlab-org--gitlab-foss/app/views/projects/wikis/show.html.haml

29 lines
863 B
Text
Raw Normal View History

- page_title @page.title.capitalize, "Wiki"
= render "header_title"
= render 'nav'
.gray-content-block
2013-06-22 08:04:49 -04:00
= render 'main_links'
%h3.page-title
= @page.title.capitalize
.wiki-last-edit-by
Last edited by #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}
- if @page.historical?
.warning_message
2013-03-15 08:20:03 -04:00
This is an old version of this page.
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)}.
.wiki-holder.prepend-top-default
.wiki
2013-03-15 08:20:03 -04:00
= preserve do
= render_wiki_content(@page)
2012-02-20 12:16:55 -05: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)}