Commit ade780a9 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'master' of github.com:gitlabhq/gitlabhq

parents e46883b0 96efdfad
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
- split_button = split_button || false - split_button = split_button || false
- if split_button == true - if split_button == true
%span.btn-group{class: btn_class} %span.btn-group{class: btn_class}
= link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), class: 'btn' do = link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), class: 'btn', rel: 'nofollow' do
%i.icon-download-alt %i.icon-download-alt
%span Download zip %span Download zip
%a.btn.dropdown-toggle{ 'data-toggle' => 'dropdown' } %a.btn.dropdown-toggle{ 'data-toggle' => 'dropdown' }
...@@ -12,26 +12,26 @@ ...@@ -12,26 +12,26 @@
Select Archive Format Select Archive Format
%ul.dropdown-menu{ role: 'menu' } %ul.dropdown-menu{ role: 'menu' }
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'zip') do = link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), rel: 'nofollow' do
%i.icon-download-alt %i.icon-download-alt
%span Download zip %span Download zip
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz') do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz'), rel: 'nofollow' do
%i.icon-download-alt %i.icon-download-alt
%span Download tar.gz %span Download tar.gz
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar.bz2') do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar.bz2'), rel: 'nofollow' do
%i.icon-download-alt %i.icon-download-alt
%span Download tar.bz2 %span Download tar.bz2
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar') do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar'), rel: 'nofollow' do
%i.icon-download-alt %i.icon-download-alt
%span Download tar %span Download tar
- else - else
%span.btn-group{class: btn_class} %span.btn-group{class: btn_class}
= link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), class: 'btn' do = link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), class: 'btn', rel: 'nofollow' do
%i.icon-download-alt %i.icon-download-alt
%span zip %span zip
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz'), class: 'btn' do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz'), class: 'btn', rel: 'nofollow' do
%i.icon-download-alt %i.icon-download-alt
%span tar.gz %span tar.gz
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment