diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-11-28 22:15:37 +0300 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-11-28 22:15:37 +0300 |
commit | 0e75378b03fc9df3a88965b4475ab420e98129b8 (patch) | |
tree | db0c80df58316260bd1dd57a97ac92297c2eaa08 /app/views/projects/labels | |
parent | 88254cd360f61103a62937df06fc40d0011222e2 (diff) |
Include new and edit links in breadcrumb for project milestones, group milestones, and labels
Diffstat (limited to 'app/views/projects/labels')
-rw-r--r-- | app/views/projects/labels/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/labels/new.html.haml | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app/views/projects/labels/edit.html.haml b/app/views/projects/labels/edit.html.haml index b8ee4305142..b9d45e83032 100644 --- a/app/views/projects/labels/edit.html.haml +++ b/app/views/projects/labels/edit.html.haml @@ -1,4 +1,6 @@ - @no_container = true +- add_to_breadcrumbs "Labels", project_labels_path(@project) +- breadcrumb_title "Edit" - page_title "Edit", @label.name, "Labels" %div{ class: container_class } diff --git a/app/views/projects/labels/new.html.haml b/app/views/projects/labels/new.html.haml index 02f59f30a39..c6739231e36 100644 --- a/app/views/projects/labels/new.html.haml +++ b/app/views/projects/labels/new.html.haml @@ -1,5 +1,6 @@ - @no_container = true -- breadcrumb_title "Labels" +- add_to_breadcrumbs "Labels", project_labels_path(@project) +- breadcrumb_title "New" - page_title "New Label" %div{ class: container_class } |