diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-05-08 19:12:07 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-05-08 19:12:07 +0300 |
commit | 15909d6411522ed11813c33e49ce695ac765b851 (patch) | |
tree | d2742e0801e60ff7b6ea39f3fb88335fa9ec44e1 /app/views/shared/_clone_panel.html.haml | |
parent | d9b6b9201e7d4495c28035bf545ee2b85834bd5e (diff) |
Move project visibility from clone bar to repository details block for non empty project.
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r-- | app/views/shared/_clone_panel.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml index 60bb76e898a..3f489a04e71 100644 --- a/app/views/shared/_clone_panel.html.haml +++ b/app/views/shared/_clone_panel.html.haml @@ -18,7 +18,7 @@ :"data-container" => "body"} = gitlab_config.protocol.upcase = text_field_tag :project_clone, default_url_to_repo(project), class: "js-select-on-focus form-control input-sm", readonly: true - - if project.kind_of?(Project) + - if project.kind_of?(Project) && project.empty_repo? .input-group-addon .visibility-level-label.has_tooltip{'data-title' => "#{visibility_level_label(project.visibility_level)} project" } = visibility_level_icon(project.visibility_level) |