summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2019-07-22 12:50:48 +0000
committerFatih Acet <acetfatih@gmail.com>2019-07-22 12:50:48 +0000
commit06e44f7d03e5df62e8ab68e78008f2000d3e2b52 (patch)
treefb4841ac1a9cc8862aa07b0ca3bee14bab1fd0ed
parent0b89030e606ffbc549e543ae5d03fa4991a48c9e (diff)
parentd8b11c25512a70823ae2e231fc87e0b247765dc9 (diff)
downloadgitlab-ce-06e44f7d03e5df62e8ab68e78008f2000d3e2b52.tar.gz
Merge branch '60949-display-projectid-on-project-admin-page' into 'master'
Display project id on project admin page Closes #60949 See merge request gitlab-org/gitlab-ce!29734
-rw-r--r--app/views/admin/projects/show.html.haml5
-rw-r--r--changelogs/unreleased/60949-display-projectid-on-project-admin-page.yml5
-rw-r--r--spec/features/admin/admin_projects_spec.rb1
3 files changed, 11 insertions, 0 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 0fae8060b32..3eff0a221d7 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -55,6 +55,11 @@
= @project.created_at.to_s(:medium)
%li
+ %span.light ID:
+ %strong
+ = @project.id
+
+ %li
%span.light http:
%strong
= link_to @project.http_url_to_repo, project_path(@project)
diff --git a/changelogs/unreleased/60949-display-projectid-on-project-admin-page.yml b/changelogs/unreleased/60949-display-projectid-on-project-admin-page.yml
new file mode 100644
index 00000000000..3ff83ede2fa
--- /dev/null
+++ b/changelogs/unreleased/60949-display-projectid-on-project-admin-page.yml
@@ -0,0 +1,5 @@
+---
+title: Display project id on project admin page
+merge_request: 29734
+author: Zsolt Kovari
+type: added
diff --git a/spec/features/admin/admin_projects_spec.rb b/spec/features/admin/admin_projects_spec.rb
index 2b6bfa40beb..1c1ca41f633 100644
--- a/spec/features/admin/admin_projects_spec.rb
+++ b/spec/features/admin/admin_projects_spec.rb
@@ -60,6 +60,7 @@ describe "Admin::Projects" do
expect(page).to have_content(project.name)
expect(page).to have_content(project.full_name)
expect(page).to have_content(project.creator.name)
+ expect(page).to have_content(project.id)
end
end