Commit 8c4982c5 authored by Markus Koller's avatar Markus Koller

Disable "Clone repository" link for group wikis

parent f2e77c33
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
%a.gutter-toggle.float-right.d-block.d-sm-block.d-md-none.js-sidebar-wiki-toggle{ href: "#" } %a.gutter-toggle.float-right.d-block.d-sm-block.d-md-none.js-sidebar-wiki-toggle{ href: "#" }
= sprite_icon('chevron-double-lg-right', css_class: 'gl-icon') = sprite_icon('chevron-double-lg-right', css_class: 'gl-icon')
- git_access_url = wiki_path(@wiki, action: :git_access) - if @wiki.container.is_a?(Project)
= link_to git_access_url, class: active_nav_link?(path: 'wikis#git_access') ? 'active' : '', data: { qa_selector: 'clone_repository_link' } do - git_access_url = wiki_path(@wiki, action: :git_access)
= sprite_icon('download', css_class: 'gl-mr-2') = link_to git_access_url, class: active_nav_link?(path: 'wikis#git_access') ? 'active' : '', data: { qa_selector: 'clone_repository_link' } do
%span= _("Clone repository") = sprite_icon('download', css_class: 'gl-mr-2')
%span= _("Clone repository")
.blocks-container .blocks-container
.block.block-first.w-100 .block.block-first.w-100
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment