diff --git a/subjects/templates/subjects/create.html b/subjects/templates/subjects/create.html index 699b366..24c1974 100644 --- a/subjects/templates/subjects/create.html +++ b/subjects/templates/subjects/create.html @@ -17,7 +17,7 @@ {% breadcrumb 'Home' 'subjects:home' %} {% if subject %} - {% breadcrumb subject.category 'subjects:index' %} + {% breadcrumb subject.category 'subjects:cat_view' subject.category.slug %} {% breadcrumb subject 'subjects:view' subject.slug %} {% trans 'Replicate: ' as bread %} @@ -26,7 +26,7 @@ {% breadcrumb bread_slug 'subjects:create' %} {% endwith %} {% else %} - {% breadcrumb slug 'subjects:index' %} + {% breadcrumb slug 'subjects:cat_view' slug %} {% breadcrumb 'Create Subject' 'subjects:create' %} {% endif %} {% endblock %} diff --git a/subjects/templates/subjects/list.html b/subjects/templates/subjects/list.html index fbca9be..ffe0c79 100644 --- a/subjects/templates/subjects/list.html +++ b/subjects/templates/subjects/list.html @@ -203,7 +203,7 @@ $('html, body').animate({ scrollTop: $("#" + cat_slug).parent().offset().top - }, 2000); + }, 1000); } }); diff --git a/subjects/templates/subjects/update.html b/subjects/templates/subjects/update.html index 28a1583..e55835a 100644 --- a/subjects/templates/subjects/update.html +++ b/subjects/templates/subjects/update.html @@ -16,9 +16,11 @@ {% block breadcrumbs %} {{ block.super }} - {% breadcrumb subject.category 'subjects:index' %} + {% breadcrumb subject.category 'subjects:cat_view' subject.category.slug %} {% breadcrumb subject 'subjects:view' subject.slug %} - {% with 'Edit '|add:object.slug as bread_slug %} + + {% trans 'Update: ' as bread %} + {% with bread|add:object.name as bread_slug %} {% breadcrumb bread_slug 'subjects:update' %} {% endwith %} {% endblock %} -- libgit2 0.21.2