debian-mirror-gitlab/app/views/projects/wikis/show.html.haml

29 lines
863 B
Text
Raw Normal View History

2015-09-25 12:07:36 +05:30
- page_title @page.title.capitalize, "Wiki"
= render "header_title"
2014-09-02 18:07:02 +05:30
= render 'nav'
2015-09-25 12:07:36 +05:30
.gray-content-block
2014-09-02 18:07:02 +05:30
= render 'main_links'
2015-09-25 12:07:36 +05:30
%h3.page-title
= @page.title.capitalize
2015-09-11 14:41:01 +05:30
2015-09-25 12:07:36 +05:30
.wiki-last-edit-by
Last edited by #{@page.commit.author.name} #{time_ago_with_tooltip(@page.commit.authored_date)}
2015-09-11 14:41:01 +05:30
2014-09-02 18:07:02 +05:30
- if @page.historical?
.warning_message
This is an old version of this page.
2015-09-25 12:07:36 +05:30
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)}.
2014-09-02 18:07:02 +05:30
2015-09-25 12:07:36 +05:30
.wiki-holder.prepend-top-default
2014-09-02 18:07:02 +05:30
.wiki
= preserve do
= render_wiki_content(@page)
2015-09-25 12:07:36 +05:30
.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-09-11 14:41:01 +05:30