Commit a091483b authored by Rubén Dávila's avatar Rubén Dávila

Some fixes from last code review.

parent 91bd0bf9
......@@ -584,7 +584,7 @@ pre.light-well {
width: 160px;
}
.fork_link {
.fork-link {
float: right;
margin-left: $gl-padding;
......
......@@ -100,7 +100,7 @@
- if project_nav_tab? :forks
= nav_link(controller: :forks, action: :index) do
= link_to namespace_project_forks_path(@project.namespace, @project), title: 'Forks', class: 'shortcuts-wiki' do
= link_to namespace_project_forks_path(@project.namespace, @project), title: 'Forks' do
= icon('code-fork fw')
%span
Forks
......
......@@ -30,7 +30,7 @@
= link_to page_filter_path(sort: sort_value_oldest_updated, without: excluded_filters) do
= sort_title_oldest_updated
.fork_link.inline
.fork-link.inline
- 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: 'pull-right btn btn-new' do
= icon('code-fork fw')
......
......@@ -33,11 +33,11 @@
&nbsp;
- if forks
%span
%i.fa.fa-code-fork
= icon('code-fork')
= project.forks_count
- if stars
%span
%i.fa.fa-star
= icon('star')
= project.star_count
- if show_last_commit_as_description
.project-description
......
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