summaryrefslogtreecommitdiff
path: root/app/views/projects/compare
diff options
context:
space:
mode:
authorClement Ho <clementh@hp.com>2016-08-01 15:09:03 -0500
committerClement Ho <clementh@hp.com>2016-08-01 15:09:03 -0500
commitfe23512c9d0cc8348cb4221fc110b53748a6996b (patch)
tree2569c51b5bb5ca2cf387c343f006bf9f24c69c03 /app/views/projects/compare
parentab3dd9a106787b70c26e55e9f0dc7fe6c34b0769 (diff)
downloadgitlab-ce-fe23512c9d0cc8348cb4221fc110b53748a6996b.tar.gz
Convert switch icon into icon font
Diffstat (limited to 'app/views/projects/compare')
-rw-r--r--app/views/projects/compare/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/compare/_form.html.haml b/app/views/projects/compare/_form.html.haml
index af09b3418ea..d79336f5a60 100644
--- a/app/views/projects/compare/_form.html.haml
+++ b/app/views/projects/compare/_form.html.haml
@@ -1,7 +1,7 @@
= form_tag namespace_project_compare_index_path(@project.namespace, @project), method: :post, class: 'form-inline js-requires-input' do
.clearfix
- if params[:to] && params[:from]
- = link_to 'switch', {from: params[:to], to: params[:from]}, {class: 'commits-compare-switch has-tooltip', title: 'Switch base of comparison'}
+ = link_to icon('exchange'), {from: params[:to], to: params[:from]}, {class: 'commits-compare-switch has-tooltip', title: 'Switch base of comparison'}
.form-group.dropdown.compare-form-group.js-compare-from-dropdown
.input-group.inline-input-group
%span.input-group-addon from