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

22 lines
567 B
Plaintext
Raw Normal View History

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")
2016-06-30 13:01:26 +00:00
%div{ class: container_class }
2016-11-15 09:17:44 +00:00
.wiki-page-header
.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")
.nav-controls
= link_to project_wikis_git_access_path(@project), class: 'btn' do
= icon('cloud-download')
2017-09-27 17:13:29 +00:00
= _("Clone repository")
2016-12-19 05:13:26 +00:00
%ul.wiki-pages-list.content-list
= render @wiki_entries, context: 'pages'
2016-06-15 14:31:41 +00:00
= paginate @wiki_pages, theme: 'gitlab'