Use full group name for admin group index and show pages

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-12-08 21:11:20 +02:00
parent 8128ce3054
commit 5c06875c39
2 changed files with 2 additions and 2 deletions
app/views/admin/groups

View file

@ -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

View file

@ -1,6 +1,6 @@
- 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