Skip to content

Commit c968452

Browse files
Update view url for Dashboard breadcrumb name under user profile (#718)
- Update dashboard.html & userprofile.html for user profile for breadcrumb Signed-off-by: Abhishek Mishra <[email protected]>
1 parent 4c522c5 commit c968452

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

junction/templates/profiles/dashboard.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
{% block breadcrumbs %}
1919
{{ block.super }}
20-
{% breadcrumb "Dashboard" "user-proposals-list" %}
20+
<!-- breadcrumb takes 2 mandatory arguments (label & viewname) -->
21+
{% breadcrumb "Dashboard" "dummy-url" %}
2122
{% endblock %}
2223

2324
{% block navbar_logo %}

junction/templates/profiles/userprofile.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717

1818
{% block breadcrumbs %}
1919
{{ block.super }}
20-
{% breadcrumb "Dashboard" "user-proposals-list" %}
21-
{% breadcrumb "Profile" "user-profile"%}
20+
<!-- breadcrumb takes 2 mandatory arguments (label & viewname) -->
21+
{% breadcrumb "Dashboard" "/profiles" %}
22+
{% breadcrumb "Profile" "dummy-url" %}
2223
{% endblock %}
2324

2425
{% block navbar_logo %}

0 commit comments

Comments
 (0)