Commit 43be3fcb authored by Robert Schilling's avatar Robert Schilling

Merge pull request #7960 from Soullivaneuh/fa-fix

Fix fa-download icon
parents ac71c386 c0e2eee3
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
.center .center
= link_to project_raw_path(@project, @id) do = link_to project_raw_path(@project, @id) do
%h1.light %h1.light
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%h4 %h4
Download (#{number_to_human_size blob.size}) Download (#{number_to_human_size blob.size})
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
= @notes_count = @notes_count
.pull-left.btn-group .pull-left.btn-group
%a.btn.btn-grouped.dropdown-toggle{ data: {toggle: :dropdown} } %a.btn.btn-grouped.dropdown-toggle{ data: {toggle: :dropdown} }
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
Download as Download as
%span.caret %span.caret
%ul.dropdown-menu %ul.dropdown-menu
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
- if @merge_request.open? - if @merge_request.open?
.btn-group.pull-left .btn-group.pull-left
%a.btn.btn-grouped.dropdown-toggle{ data: {toggle: :dropdown} } %a.btn.btn-grouped.dropdown-toggle{ data: {toggle: :dropdown} }
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
Download as Download as
%span.caret %span.caret
%ul.dropdown-menu %ul.dropdown-menu
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- 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', rel: 'nofollow' do = link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), class: 'btn', rel: 'nofollow' do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%span Download zip %span Download zip
%a.btn.dropdown-toggle{ 'data-toggle' => 'dropdown' } %a.btn.dropdown-toggle{ 'data-toggle' => 'dropdown' }
%span.caret %span.caret
...@@ -13,25 +13,25 @@ ...@@ -13,25 +13,25 @@
%ul.dropdown-menu{ role: 'menu' } %ul.dropdown-menu{ role: 'menu' }
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), rel: 'nofollow' do = link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), rel: 'nofollow' do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%span Download zip %span Download zip
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz'), rel: 'nofollow' do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz'), rel: 'nofollow' do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%span Download tar.gz %span Download tar.gz
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar.bz2'), rel: 'nofollow' do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar.bz2'), rel: 'nofollow' do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%span Download tar.bz2 %span Download tar.bz2
%li %li
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar'), rel: 'nofollow' do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar'), rel: 'nofollow' do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%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', rel: 'nofollow' do = link_to archive_project_repository_path(@project, ref: ref, format: 'zip'), class: 'btn', rel: 'nofollow' do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%span zip %span zip
= link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz'), class: 'btn', rel: 'nofollow' do = link_to archive_project_repository_path(@project, ref: ref, format: 'tar.gz'), class: 'btn', rel: 'nofollow' do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
%span tar.gz %span tar.gz
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
= nav_link(path: 'wikis#git_access') do = nav_link(path: 'wikis#git_access') do
= link_to git_access_project_wikis_path(@project) do = link_to git_access_project_wikis_path(@project) do
%i.fa.fa-arrow-circle-o-down-alt %i.fa.fa-download
Git Access Git Access
- if can?(current_user, :write_wiki, @project) - if can?(current_user, :write_wiki, @project)
......
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