summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2018-10-01 17:13:03 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2018-10-01 17:13:03 +0000
commit34d24c1ff5a081eb34de455bf8edf0c8c7ac15c4 (patch)
tree61077c33086996e8222efe929f081a0a71453537
parent1cd07610664ab955c8a044b20c71224594a9a9bb (diff)
parent0bca6493d265368557850f3ecd29849b6e056899 (diff)
downloadgitlab-ce-34d24c1ff5a081eb34de455bf8edf0c8c7ac15c4.tar.gz
Merge branch 'improve-empty-project-placeholder' into 'master'
Improve empty project placeholder for non-members and members without write access Closes #45589 See merge request gitlab-org/gitlab-ce!21977
-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