Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-26 21:59:29 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-26 21:59:29 +0400
commit9ef5573c82acb0dc0d9068df08f469926a0a19c3 (patch)
tree6ab57dab2a0760ff2514fe40e0ce2d4d5e01d9fb /app/views/shared/_clone_panel.html.haml
parentb8f965a66592f77e49489b5160aac55c1e63df82 (diff)
Show project access level right to clone panel
Diffstat (limited to 'app/views/shared/_clone_panel.html.haml')
-rw-r--r--app/views/shared/_clone_panel.html.haml11
1 files changed, 10 insertions, 1 deletions
diff --git a/app/views/shared/_clone_panel.html.haml b/app/views/shared/_clone_panel.html.haml
index bd9ca729352..191532db865 100644
--- a/app/views/shared/_clone_panel.html.haml
+++ b/app/views/shared/_clone_panel.html.haml
@@ -1,4 +1,13 @@
-.input-prepend.project_clone_holder
+.input-prepend.input-append.project_clone_holder
%button{class: "btn active", :"data-clone" => @project.ssh_url_to_repo} SSH
%button{class: "btn", :"data-clone" => @project.http_url_to_repo}= Gitlab.config.gitlab.protocol.upcase
= text_field_tag :project_clone, @project.url_to_repo, class: "one_click_select input-xxlarge", readonly: true
+ %span.add-on
+ - if @project.public
+ .cblue
+ %i.icon-share
+ public
+ - else
+ .cgreen
+ %i.icon-lock
+ private