summaryrefslogtreecommitdiff
path: root/app/views/projects/forks/index.html.haml
diff options
context:
space:
mode:
authorSimon Knox <simon@gitlab.com>2018-01-16 15:52:22 +0000
committerFatih Acet <acetfatih@gmail.com>2018-01-16 15:52:22 +0000
commit5d8b06d28f062977e765db85e8e34804178ef790 (patch)
tree5a560efe2c8ba3c2407c3e841f097ca3e41038a8 /app/views/projects/forks/index.html.haml
parent0f449ecc3797337333f595a86a6b282b866067e3 (diff)
downloadgitlab-ce-5d8b06d28f062977e765db85e8e34804178ef790.tar.gz
Resolve "Icons on forks page are to big"
Diffstat (limited to 'app/views/projects/forks/index.html.haml')
-rw-r--r--app/views/projects/forks/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/forks/index.html.haml b/app/views/projects/forks/index.html.haml
index 111cbcda266..21a4702a2a9 100644
--- a/app/views/projects/forks/index.html.haml
+++ b/app/views/projects/forks/index.html.haml
@@ -31,11 +31,11 @@
- if current_user && can?(current_user, :fork_project, @project)
- if current_user.already_forked?(@project) && current_user.manageable_namespaces.size < 2
= link_to namespace_project_path(current_user, current_user.fork_of(@project)), title: 'Go to your fork', class: 'btn btn-new' do
- = custom_icon('icon_fork')
+ = sprite_icon('fork', size: 12)
%span Fork
- else
= link_to new_project_fork_path(@project), title: "Fork project", class: 'btn btn-new' do
- = custom_icon('icon_fork')
+ = sprite_icon('fork', size: 12)
%span Fork