BigW Consortium Gitlab

_clone_panel.html.haml 845 Bytes
Newer Older
1 2 3
.project_clone_panel
  .row
    .span7
4
      .form-horizontal= render "shared/clone_panel"
5 6
    .span4.right
      .right
7 8
        - unless @project.empty_repo?
          - if can? current_user, :download_code, @project
9
            = link_to archive_project_repository_path(@project), class: "btn-small btn grouped" do
10 11 12
              %i.icon-download-alt
              Download
          - if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
13
            = link_to new_project_merge_request_path(@project), title: "New Merge Request", class: "btn-small btn grouped" do
14 15
              Merge Request
          - if @project.issues_enabled && can?(current_user, :write_issue, @project)
16
            = link_to new_project_issue_path(@project), title: "New Issue", class: "btn-small btn grouped" do
17
              Issue