diff options
author | Fatih Acet <acetfatih@gmail.com> | 2018-01-16 18:54:12 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2018-01-17 19:28:20 +0300 |
commit | b65f3c9fa0acbf48d8d6c8f92b58bd85ddf6c646 (patch) | |
tree | 40e99fedf8606cfee73af78f8458569b450f67a9 /app | |
parent | 6fefbf2e4b8e388470cfa8bb4eb7079817f85a5c (diff) |
Merge branch '42046-fork-icon' into 'master'
Resolve "Icons on forks page are to big"
Closes #42046
See merge request gitlab-org/gitlab-ce!16474
(cherry picked from commit 78ca7d97bbb12be11bd2ebeb8b03ae2277c5ec10)
d76047a1 fix fork icon size and button icon color on Forks page
3ec647ed Update 42046-fork-icon.yml
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/forks/index.html.haml | 4 | ||||
-rw-r--r-- | app/views/shared/projects/_project.html.haml | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml index 63aa4e29ec9..2a75b46d376 100644 --- a/app/views/shared/projects/_project.html.haml +++ b/app/views/shared/projects/_project.html.haml @@ -52,7 +52,7 @@ = render_project_pipeline_status(project.pipeline_status) - if forks %span.prepend-left-10 - = sprite_icon('fork') + = sprite_icon('fork', size: 12) = number_with_delimiter(project.forks_count) - if stars %span.prepend-left-10 |