Commit 6a91e32a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Cleanup groups pages UI a bit

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8129e2f3
...@@ -379,7 +379,7 @@ table { ...@@ -379,7 +379,7 @@ table {
list-style: none; list-style: none;
text-align: center; text-align: center;
padding-bottom: 15px; padding-bottom: 15px;
margin-bottom: 10px; margin-bottom: 15px;
li { li {
display: inline-block; display: inline-block;
......
- page_title "Groups" - page_title "Groups"
= render 'dashboard/groups_head' = render 'dashboard/groups_head'
%h3.page-title .slead
Group Membership Group members have access to all group projects.
- if current_user.can_create_group? - if current_user.can_create_group?
%span.pull-right.hidden-xs %span.pull-right.hidden-xs
= link_to new_group_path, class: "btn btn-new" do = link_to new_group_path, class: "btn btn-new btn-sm" do
%i.fa.fa-plus %i.fa.fa-plus
New Group New Group
%p.light
Group members have access to all group projects.
%hr
.panel.panel-default .panel.panel-default
.panel-heading .panel-heading
%strong Groups %strong Groups
......
- page_title "Groups" - page_title "Groups"
- if current_user - if current_user
= render 'dashboard/groups_head' = render 'dashboard/groups_head'
.clearfix .clearfix.append-bottom-10
.pull-left .pull-left
= form_tag explore_groups_path, method: :get, class: 'form-inline form-tiny' do |f| = form_tag explore_groups_path, method: :get, class: 'form-inline form-tiny' do |f|
= hidden_field_tag :sort, @sort = hidden_field_tag :sort, @sort
...@@ -30,15 +30,12 @@ ...@@ -30,15 +30,12 @@
= link_to explore_groups_path(sort: sort_value_oldest_updated) do = link_to explore_groups_path(sort: sort_value_oldest_updated) do
= sort_title_oldest_updated = sort_title_oldest_updated
%hr
%ul.bordered-list %ul.bordered-list
- @groups.each do |group| - @groups.each do |group|
%li %li
.clearfix .clearfix
%h4 %h4
= link_to group_path(id: group.path) do = link_to group_path(id: group.path) do
%i.fa.fa-users
= group.name = group.name
.clearfix .clearfix
%p %p
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment