diff options
author | Tuğçe Nur Taş <tas.tugcenur@gmail.com> | 2018-07-18 06:58:21 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-07-18 06:58:21 +0000 |
commit | 742cf277785eb2c0700ce0abf21bc25aee50a2c3 (patch) | |
tree | 6688f8dc61e933852a0abb5d177c5181297e90f5 /app/views/projects/_home_panel.html.haml | |
parent | 9bdc9b1ae69a62ad764d8ae59baa43a4a0be1d3a (diff) | |
download | gitlab-ce-742cf277785eb2c0700ce0abf21bc25aee50a2c3.tar.gz |
Features/show project id on home panel
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml index 89940512bc6..74ab8cf8250 100644 --- a/app/views/projects/_home_panel.html.haml +++ b/app/views/projects/_home_panel.html.haml @@ -12,6 +12,9 @@ .project-home-desc - if @project.description.present? = markdown_field(@project, :description) + - if can?(current_user, :read_project, @project) + .text-secondary.prepend-top-8 + = s_('ProjectPage|Project ID: %{project_id}') % { project_id: @project.id } - if @project.forked? %p |