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

22 lines
567 B
Text
Raw Normal View History

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