add link to forks pages in fork counter button

This commit is contained in:
Arinde Eniola 2016-03-24 21:45:31 +01:00
parent 5a460c3796
commit ff29d88dbe
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@
margin-right: 12px;
a {
margin: -1px !important;
margin: -1px;
}
}

View file

@ -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