summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-09-28 01:19:29 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-09-28 01:25:28 +0300
commit0bca6493d265368557850f3ecd29849b6e056899 (patch)
treed70a398fbf18e26691f287a516cbd37aa92561cc
parente13a3c71c425e8a49ff67eca224766ef763ea065 (diff)
downloadgitlab-ce-0bca6493d265368557850f3ecd29849b6e056899.tar.gz
Improve empty project placeholder for non-members and members without write access
-rw-r--r--app/views/projects/empty.html.haml2
-rw-r--r--changelogs/unreleased/improve-empty-project-placeholder.yml5
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index d104608b2fe..75f35360e5e 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -9,7 +9,7 @@
.project-empty-note-panel
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
.prepend-top-20
- %h4
+ %h4.append-bottom-20
= _('The repository for this project is empty')
- if @project.can_current_user_push_code?
diff --git a/changelogs/unreleased/improve-empty-project-placeholder.yml b/changelogs/unreleased/improve-empty-project-placeholder.yml
new file mode 100644
index 00000000000..11fe21e7710
--- /dev/null
+++ b/changelogs/unreleased/improve-empty-project-placeholder.yml
@@ -0,0 +1,5 @@
+---
+title: Improve empty project placeholder for non-members and members without write access
+merge_request: 21977
+author: George Tsiolis
+type: other