Commit 795199bf authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'add_link_to_fork_counter_button' into 'master'

Add link to forks pages in fork counter button

closes #14412 

![fork_link](/uploads/5afef05bc592b0cf1c90ae4d154aed87/fork_link.gif)

See merge request !3387
parents d73e1288 ff29d88d
......@@ -162,7 +162,7 @@
margin-right: 12px;
a {
margin: -1px !important;
margin: -1px;
}
}
......
......@@ -12,7 +12,7 @@
= link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn has-tooltip' do
= icon('code-fork fw')
Fork
%div.count-with-arrow
= link_to namespace_project_forks_path(@project.namespace, @project), class: 'count-with-arrow' do
%span.arrow
%span.count
= @project.forks_count
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