2012-08-30 08:26:45 +02:00
|
|
|
.project_clone_panel
|
|
|
|
.row
|
|
|
|
.span7
|
2012-10-22 19:30:42 +02:00
|
|
|
.form-horizontal= render "shared/clone_panel"
|
2013-01-30 15:40:43 +01:00
|
|
|
.span4.pull-right
|
|
|
|
.pull-right
|
2012-09-04 18:05:08 +02:00
|
|
|
- unless @project.empty_repo?
|
|
|
|
- if can? current_user, :download_code, @project
|
2012-11-21 05:14:05 +01:00
|
|
|
= link_to archive_project_repository_path(@project), class: "btn-small btn grouped" do
|
2012-09-04 18:05:08 +02:00
|
|
|
%i.icon-download-alt
|
|
|
|
Download
|
|
|
|
- if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
|
2012-11-21 05:14:05 +01:00
|
|
|
= link_to new_project_merge_request_path(@project), title: "New Merge Request", class: "btn-small btn grouped" do
|
2012-09-04 18:05:08 +02:00
|
|
|
Merge Request
|
|
|
|
- if @project.issues_enabled && can?(current_user, :write_issue, @project)
|
2013-03-26 09:27:34 +01:00
|
|
|
= link_to url_for_new_issue, title: "New Issue", class: "btn-small btn grouped" do
|
2012-09-04 18:05:08 +02:00
|
|
|
Issue
|