summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/edit.html.haml
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-11-28 19:15:37 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-11-28 19:15:37 +0000
commit0e75378b03fc9df3a88965b4475ab420e98129b8 (patch)
treedb0c80df58316260bd1dd57a97ac92297c2eaa08 /app/views/projects/wikis/edit.html.haml
parent88254cd360f61103a62937df06fc40d0011222e2 (diff)
downloadgitlab-ce-0e75378b03fc9df3a88965b4475ab420e98129b8.tar.gz
Include new and edit links in breadcrumb for project milestones, group milestones, and labels
Diffstat (limited to 'app/views/projects/wikis/edit.html.haml')
-rw-r--r--app/views/projects/wikis/edit.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/wikis/edit.html.haml b/app/views/projects/wikis/edit.html.haml
index 80aa1500d53..aa9e29e5371 100644
--- a/app/views/projects/wikis/edit.html.haml
+++ b/app/views/projects/wikis/edit.html.haml
@@ -1,5 +1,7 @@
- @content_class = "limit-container-width" unless fluid_layout
-- page_title _("Edit"), @page.title.capitalize, _("Wiki")
+- add_to_breadcrumbs _("Wiki"), project_wiki_path(@project, @page)
+- breadcrumb_title @page.persisted? ? _("Edit") : _("New")
+- page_title @page.persisted? ? _("Edit") : _("New"), @page.title.capitalize, _("Wiki")
= wiki_page_errors(@error)