740f07b1ec
When the external wiki is enabled, the internal wiki link is replaced by the external wiki url. But the internal wiki is still accessible. In this change the external wiki will have its own tab in the sidebar and only if the services are disabled the tab (and access rights) will not be displayed.
21 lines
570 B
Text
21 lines
570 B
Text
- @no_container = true
|
|
- add_to_breadcrumbs "Wiki", project_wiki_path(@project, :home)
|
|
- breadcrumb_title s_("Wiki|Pages")
|
|
- page_title s_("Wiki|Pages"), _("Wiki")
|
|
|
|
%div{ class: container_class }
|
|
.wiki-page-header
|
|
|
|
.nav-text
|
|
%h2.wiki-page-title
|
|
= s_("Wiki|Wiki Pages")
|
|
|
|
.nav-controls
|
|
= link_to project_wikis_git_access_path(@project), class: 'btn' do
|
|
= icon('cloud-download')
|
|
= _("Clone repository")
|
|
|
|
%ul.wiki-pages-list.content-list
|
|
= render @wiki_entries, context: 'pages'
|
|
|
|
= paginate @wiki_pages, theme: 'gitlab'
|