summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2018-05-29 07:28:49 +0000
committerPhil Hughes <me@iamphill.com>2018-05-29 07:28:49 +0000
commit67199aed62654657488f2b84bae8fe04e6cc7060 (patch)
treef24a242817e34e6fcc379aedd59f920eebfca7af /app/views/projects/wikis
parent6e354cb642f911dc71be3d5368f066900fc25970 (diff)
downloadgitlab-ce-67199aed62654657488f2b84bae8fe04e6cc7060.tar.gz
Add helpful messages to empty wiki view
Diffstat (limited to 'app/views/projects/wikis')
-rw-r--r--app/views/projects/wikis/empty.html.haml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/projects/wikis/empty.html.haml b/app/views/projects/wikis/empty.html.haml
index d6e568bac94..62fa6e1907b 100644
--- a/app/views/projects/wikis/empty.html.haml
+++ b/app/views/projects/wikis/empty.html.haml
@@ -1,6 +1,4 @@
- page_title _("Wiki")
+- @right_sidebar = false
-%h3.page-title= s_("Wiki|Empty page")
-%hr
-.error_message
- = s_("WikiEmptyPageError|You are not allowed to create wiki pages")
+= render 'shared/empty_states/wikis'