Skip to content
Snippets Groups Projects
Commit a091483b authored by Rubén Dávila's avatar Rubén Dávila
Browse files

Some fixes from last code review.

parent 91bd0bf9
No related branches found
No related tags found
1 merge request!2376Show list of forks for a given Project
Loading
@@ -584,7 +584,7 @@ pre.light-well {
Loading
@@ -584,7 +584,7 @@ pre.light-well {
width: 160px; width: 160px;
} }
   
.fork_link { .fork-link {
float: right; float: right;
margin-left: $gl-padding; margin-left: $gl-padding;
   
Loading
Loading
Loading
@@ -100,7 +100,7 @@
Loading
@@ -100,7 +100,7 @@
   
- if project_nav_tab? :forks - if project_nav_tab? :forks
= nav_link(controller: :forks, action: :index) do = 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') = icon('code-fork fw')
%span %span
Forks Forks
Loading
Loading
Loading
@@ -30,7 +30,7 @@
Loading
@@ -30,7 +30,7 @@
= link_to page_filter_path(sort: sort_value_oldest_updated, without: excluded_filters) do = link_to page_filter_path(sort: sort_value_oldest_updated, without: excluded_filters) do
= sort_title_oldest_updated = sort_title_oldest_updated
   
.fork_link.inline .fork-link.inline
- if current_user.already_forked?(@project) && current_user.manageable_namespaces.size < 2 - 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 = 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') = icon('code-fork fw')
Loading
Loading
Loading
@@ -33,11 +33,11 @@
Loading
@@ -33,11 +33,11 @@
&nbsp; &nbsp;
- if forks - if forks
%span %span
%i.fa.fa-code-fork = icon('code-fork')
= project.forks_count = project.forks_count
- if stars - if stars
%span %span
%i.fa.fa-star = icon('star')
= project.star_count = project.star_count
- if show_last_commit_as_description - if show_last_commit_as_description
.project-description .project-description
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment