Fix breadcrumb links

This commit is contained in:
Winnie Hellmann 2018-04-06 11:52:39 +02:00
parent 0296871112
commit 9296d47352
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
- @hide_top_links = true
- page_title "Issues"
- header_title "Issues", issues_dashboard_path(assignee_id: current_user.id)
- page_title _("Issues")
- @breadcrumb_link = issues_dashboard_path(assignee_id: current_user.id)
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{current_user.name} issues")

View file

@ -1,6 +1,6 @@
- @hide_top_links = true
- page_title "Merge Requests"
- header_title "Merge Requests", merge_requests_dashboard_path(assignee_id: current_user.id)
- page_title _("Merge Requests")
- @breadcrumb_link = merge_requests_dashboard_path(assignee_id: current_user.id)
.top-area
= render 'shared/issuable/nav', type: :merge_requests, display_count: !@no_filters_set

View file

@ -24,7 +24,7 @@
.filter-item.inline.labels-filter
= render "shared/issuable/label_dropdown", selected: selected_labels, use_id: false, selected_toggle: params[:label_name], data_options: { field_name: "label_name[]" }
- if !@no_filters_set
- unless @no_filters_set
.pull-right
= render 'shared/sort_dropdown'