Skip to content
Snippets Groups Projects
Unverified Commit e8f4f306 authored by Nur Rony's avatar Nur Rony
Browse files

layout rearranged

parent 6aec85ac
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,7 +27,7 @@
= icon("search", class: "search-icon")
 
.dropdown
- toggle_text = 'Search for Namespace'
- toggle_text = 'Namespace'
- if params[:namespace_id].present?
- namespace = Namespace.find(params[:namespace_id])
- toggle_text = "#{namespace.kind}: #{namespace.path}"
Loading
Loading
@@ -37,8 +37,9 @@
= dropdown_filter("Search for Namespace")
= dropdown_content
= dropdown_loading
= button_tag "Search", class: "btn btn-primary btn-search"
= render 'shared/projects/dropdown'
= link_to new_project_path, class: 'btn btn-new' do
New Project
 
%ul.nav-links
- opts = params[:visibility_level].present? ? {} : { page: admin_projects_path }
Loading
Loading
@@ -56,11 +57,6 @@
= link_to admin_projects_path(visibility_level: Gitlab::VisibilityLevel::PUBLIC) do
Public
 
.nav-controls
= render 'shared/projects/dropdown'
= link_to new_project_path, class: 'btn btn-new' do
New Project
.projects-list-holder
- if @projects.any?
%ul.projects-list.content-list
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment