summaryrefslogtreecommitdiff
path: root/app/views/projects/forks/index.html.haml
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-01-13 13:15:53 -0500
committerRubén Dávila <rdavila84@gmail.com>2016-01-20 00:14:58 -0500
commitaf501845dd719c2478a3c5f1bb8ead1f4b6c90b4 (patch)
tree47f2b02bd9ee6c1aa12cdc310d45e92dfc5c9f87 /app/views/projects/forks/index.html.haml
parent8f0eee06386c052a9843b9d8b1e702277ccd76ce (diff)
downloadgitlab-ce-af501845dd719c2478a3c5f1bb8ead1f4b6c90b4.tar.gz
aligns menu at top on one row
Diffstat (limited to 'app/views/projects/forks/index.html.haml')
-rw-r--r--app/views/projects/forks/index.html.haml20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/projects/forks/index.html.haml b/app/views/projects/forks/index.html.haml
index 09406ce9e4b..24efc7b3097 100644
--- a/app/views/projects/forks/index.html.haml
+++ b/app/views/projects/forks/index.html.haml
@@ -6,7 +6,7 @@
== #{pluralize(@all_forks.size, 'fork')}: #{full_count_title}
.pull-right
- .projects-search-form
+ .projects-search-form.fork-search-form
= search_field_tag :filter_projects, nil, placeholder: 'Search forks', class: 'projects-list-filter form-control',
spellcheck: false, data: { 'filter-selector' => 'span.namespace-name' }
@@ -29,15 +29,15 @@
= link_to page_filter_path(sort: sort_value_oldest_updated) do
= sort_title_oldest_updated
- .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')
- Fork
- - else
- = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'pull-right btn btn-new' do
- = icon('code-fork fw')
- Fork
+ .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')
+ Fork
+ - else
+ = link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'pull-right btn btn-new' do
+ = icon('code-fork fw')
+ Fork
.projects-list-holder