Show group id in group settings

This commit is contained in:
George Tsiolis 2018-04-19 16:47:36 +03:00
parent 27bdf206e6
commit 5e768299cb
3 changed files with 14 additions and 0 deletions

View file

@ -1,4 +1,6 @@
- breadcrumb_title "General Settings" - breadcrumb_title "General Settings"
- @content_class = "limit-container-width" unless fluid_layout
.panel.panel-default.prepend-top-default .panel.panel-default.prepend-top-default
.panel-heading .panel-heading
Group settings Group settings

View file

@ -32,6 +32,13 @@
required: true, required: true,
title: 'You can choose a descriptive name different from the path.' title: 'You can choose a descriptive name different from the path.'
- if @group.persisted?
.form-group.group-name-holder
= f.label :id, class: 'control-label' do
= _("Group ID")
.col-sm-10
= f.text_field :id, class: 'form-control', readonly: true
.form-group.group-description-holder .form-group.group-description-holder
= f.label :description, class: 'control-label' = f.label :description, class: 'control-label'
.col-sm-10 .col-sm-10

View file

@ -0,0 +1,5 @@
---
title: Show group id in group settings
merge_request: 18482
author: George Tsiolis
type: added