5bb6a85b90
Reuse same search form and behavior for dashboard#projects, group#projects and admin#projects. Repsect all other options like sorting, personal filter when search projects by name. Create FilterableList JS class to handle identical behaviour of projects and groups lists. This change also makes filtering and sorting availabe on explore#projects and explore#groups no matter if you are logged in or not. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
15 lines
303 B
Text
15 lines
303 B
Text
- page_title "Groups"
|
|
- header_title "Groups", dashboard_groups_path
|
|
|
|
- if current_user
|
|
= render 'dashboard/groups_head'
|
|
- else
|
|
= render 'explore/head'
|
|
= render 'nav'
|
|
|
|
- if @groups.present?
|
|
= render 'groups'
|
|
- else
|
|
.nothing-here-block No public groups
|
|
|
|
= paginate @groups, theme: "gitlab"
|