2019-07-31 22:56:46 +05:30
|
|
|
.page-title-holder.d-flex.align-items-center
|
2018-12-13 13:39:08 +05:30
|
|
|
%h1.page-title= _('Groups')
|
|
|
|
|
|
|
|
- if current_user.can_create_group?
|
|
|
|
.page-title-controls
|
|
|
|
= link_to _("New group"), new_group_path, class: "btn btn-success"
|
|
|
|
|
2016-04-02 18:10:28 +05:30
|
|
|
.top-area
|
2018-11-08 19:23:39 +05:30
|
|
|
%ul.nav-links.mobile-separator.nav.nav-tabs
|
2016-04-02 18:10:28 +05:30
|
|
|
= nav_link(page: dashboard_groups_path) do
|
2018-03-17 18:26:18 +05:30
|
|
|
= link_to dashboard_groups_path, title: _("Your groups") do
|
2017-08-17 22:00:37 +05:30
|
|
|
Your groups
|
2016-04-02 18:10:28 +05:30
|
|
|
= nav_link(page: explore_groups_path) do
|
2018-03-17 18:26:18 +05:30
|
|
|
= link_to explore_groups_path, title: _("Explore public groups") do
|
2017-08-17 22:00:37 +05:30
|
|
|
Explore public groups
|
2018-03-17 18:26:18 +05:30
|
|
|
.nav-controls
|
2017-08-17 22:00:37 +05:30
|
|
|
= render 'shared/groups/search_form'
|
|
|
|
= render 'shared/groups/dropdown'
|