diff options
author | winniehell <git@winniehell.de> | 2017-01-13 19:28:33 -0500 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2017-01-25 22:17:08 +0100 |
commit | 65be0979e48424d04820d4e78996cac538934b18 (patch) | |
tree | 22fe448cbfe828f31f310080a6fdd4f5a23f7aaa | |
parent | 7ce79f31670f3beaf5b29b06144a34e32b7cc4ec (diff) | |
download | gitlab-ce-65be0979e48424d04820d4e78996cac538934b18.tar.gz |
Display project ID in project settings (!8572)
-rw-r--r-- | app/views/projects/edit.html.haml | 15 | ||||
-rw-r--r-- | changelogs/unreleased/display-project-id.yml | 4 |
2 files changed, 15 insertions, 4 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 1d7fdf68cb3..114865935d6 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -7,10 +7,17 @@ .project-edit-errors = form_for [@project.namespace.becomes(Namespace), @project], remote: true, html: { multipart: true, class: "edit-project" }, authenticity_token: true do |f| %fieldset.append-bottom-0 - .form-group - = f.label :name, class: 'label-light' do - Project name - = f.text_field :name, class: "form-control", id: "project_name_edit" + .row + .form-group.col-md-9 + = f.label :name, class: 'label-light' do + Project name + = f.text_field :name, class: "form-control", id: "project_name_edit" + + .form-group.col-md-3 + = f.label :id, class: 'label-light' do + Project ID + = f.text_field :id, class: 'form-control', readonly: true + .form-group = f.label :description, class: 'label-light' do Project description diff --git a/changelogs/unreleased/display-project-id.yml b/changelogs/unreleased/display-project-id.yml new file mode 100644 index 00000000000..8705ed28400 --- /dev/null +++ b/changelogs/unreleased/display-project-id.yml @@ -0,0 +1,4 @@ +--- +title: Display project ID in project settings +merge_request: 8572 +author: winniehell |