Commit 5c06875c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use full group name for admin group index and show pages

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8128ce30
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
= image_tag group_icon(group), class: "avatar s40 hidden-xs" = image_tag group_icon(group), class: "avatar s40 hidden-xs"
.title .title
= link_to [:admin, group], class: 'group-name' do = link_to [:admin, group], class: 'group-name' do
= group.name = group.full_name
- if group.description.present? - if group.description.present?
.description .description
......
- page_title @group.name, "Groups" - page_title @group.name, "Groups"
%h3.page-title %h3.page-title
Group: #{@group.name} Group: #{@group.full_name}
= link_to edit_admin_group_path(@group), class: "btn pull-right" do = link_to edit_admin_group_path(@group), class: "btn pull-right" do
%i.fa.fa-pencil-square-o %i.fa.fa-pencil-square-o
......
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