2016-06-15 14:31:41 +00:00
|
|
|
- @no_container = true
|
2017-08-17 14:53:50 +00:00
|
|
|
- add_to_breadcrumbs "Wiki", get_project_wiki_path(@project)
|
2017-09-27 17:13:29 +00:00
|
|
|
- breadcrumb_title s_("Wiki|Pages")
|
|
|
|
- page_title s_("Wiki|Pages"), _("Wiki")
|
2015-09-17 10:16:24 +00:00
|
|
|
|
2016-06-30 13:01:26 +00:00
|
|
|
%div{ class: container_class }
|
2016-11-15 09:17:44 +00:00
|
|
|
.wiki-page-header
|
2016-11-14 21:33:21 +00:00
|
|
|
|
|
|
|
.nav-text
|
2016-11-15 09:17:44 +00:00
|
|
|
%h2.wiki-page-title
|
2017-09-27 17:13:29 +00:00
|
|
|
= s_("Wiki|Wiki Pages")
|
2016-11-14 21:33:21 +00:00
|
|
|
|
2016-11-16 18:10:16 +00:00
|
|
|
.nav-controls
|
2017-06-29 17:06:35 +00:00
|
|
|
= link_to project_wikis_git_access_path(@project), class: 'btn' do
|
2016-11-16 18:10:16 +00:00
|
|
|
= icon('cloud-download')
|
2017-09-27 17:13:29 +00:00
|
|
|
= _("Clone repository")
|
2016-11-16 18:10:16 +00:00
|
|
|
|
2016-12-19 05:13:26 +00:00
|
|
|
%ul.wiki-pages-list.content-list
|
2016-12-27 01:54:36 +00:00
|
|
|
= render @wiki_entries, context: 'pages'
|
2016-12-17 20:00:29 +00:00
|
|
|
|
2016-06-15 14:31:41 +00:00
|
|
|
= paginate @wiki_pages, theme: 'gitlab'
|