diff options
author | winniehell <git@winniehell.de> | 2016-07-24 22:30:50 +0200 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-07-24 22:34:18 +0200 |
commit | 3992981ee45406be04a5fa8822c30e2f6d6512da (patch) | |
tree | ff5628e4437e2fe0e40bbd45fd03c0dd22de10da /app/views/projects/buttons/_fork.html.haml | |
parent | 56b79181adc0bd6e9abef97ea075c14be971a01a (diff) | |
download | gitlab-ce-3992981ee45406be04a5fa8822c30e2f6d6512da.tar.gz |
Make fork counter always clickable (!5463)
Diffstat (limited to 'app/views/projects/buttons/_fork.html.haml')
-rw-r--r-- | app/views/projects/buttons/_fork.html.haml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app/views/projects/buttons/_fork.html.haml b/app/views/projects/buttons/_fork.html.haml index a098a082854..d78888e9fe4 100644 --- a/app/views/projects/buttons/_fork.html.haml +++ b/app/views/projects/buttons/_fork.html.haml @@ -4,15 +4,11 @@ = link_to namespace_project_path(current_user, current_user.fork_of(@project)), title: 'Go to your fork', class: 'btn has-tooltip' do = custom_icon('icon_fork') Fork - %div.count-with-arrow - %span.arrow - %span.count - = @project.forks_count - else = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn has-tooltip' do = custom_icon('icon_fork') Fork - %div.count-with-arrow - %span.arrow - = link_to namespace_project_forks_path(@project.namespace, @project), class: "count" do - = @project.forks_count + %div.count-with-arrow + %span.arrow + = link_to namespace_project_forks_path(@project.namespace, @project), class: "count" do + = @project.forks_count |