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

27 lines
825 B
Text
Raw Normal View History

2016-06-22 15:30:34 +05:30
- @no_container = true
2015-09-25 12:07:36 +05:30
- page_title @page.title.capitalize, "Wiki"
2014-09-02 18:07:02 +05:30
= render 'nav'
2015-09-25 12:07:36 +05:30
2016-08-24 12:49:21 +05:30
%div{ class: container_class }
2016-06-22 15:30:34 +05:30
.top-area
.nav-text
%strong= @page.title.capitalize
2015-09-11 14:41:01 +05:30
2016-06-22 15:30:34 +05:30
%span.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
2016-06-22 15:30:34 +05:30
.nav-controls
= render 'main_links'
2016-04-02 18:10:28 +05:30
2016-06-22 15:30:34 +05:30
- if @page.historical?
.warning_message
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)}.
2014-09-02 18:07:02 +05:30
2016-06-22 15:30:34 +05:30
.wiki-holder.prepend-top-default.append-bottom-default
.wiki
= preserve do
= render_wiki_content(@page)