gitlab-org--gitlab-foss/app/views/projects/_clone_panel.html.haml
2013-05-04 00:08:49 +03:00

20 lines
748 B
Text

.project_clone_panel
.row
.span8
.form-horizontal= render "shared/clone_panel"
.span3.pull-right
.pull-right
- unless @project.empty_repo?
- if can? current_user, :fork_project, @project
= link_to fork_project_path(@project), title: "Fork", class: "btn grouped", method: "POST" do
%i.icon-copy
Fork
- if can? current_user, :download_code, @project
= link_to archive_project_repository_path(@project), class: "btn grouped" do
%i.icon-download-alt
Download
= link_to tags_project_repository_path(@project), class: "btn grouped only-wide", title: 'Git Tags' do
%i.icon-tags
Tags