From e03c1e1feff44739b4e1cbd155b4277c56d94b54 Mon Sep 17 00:00:00 2001 From: tobes Date: Wed, 25 Jul 2012 15:15:50 +0100 Subject: [PATCH] [#2753] fix user breadcrumbs --- ckan/templates/user/list.html | 2 +- ckan/templates/user/read.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan/templates/user/list.html b/ckan/templates/user/list.html index 913b8d33674..b9c8dde360a 100644 --- a/ckan/templates/user/list.html +++ b/ckan/templates/user/list.html @@ -3,7 +3,7 @@ {% block title %}{{ _('All Users') }} - {{ super() }}{% endblock %} {% block breadcrumb_content %} -
  • {{ h.nav_link(_('active'), controller='user', action='index') }}
  • +
  • {{ h.nav_link(_('Users'), controller='user', action='index') }}
  • {% endblock %} {% block primary_content %} diff --git a/ckan/templates/user/read.html b/ckan/templates/user/read.html index 726685b7d04..01d7d61fbba 100644 --- a/ckan/templates/user/read.html +++ b/ckan/templates/user/read.html @@ -5,7 +5,7 @@ {% block title %}{{ user.display_name }} - {{ super() }}{% endblock %} {% block breadcrumb_content %} -
  • {% link_for _('User'), controller='user', action='index' %}
  • +
  • {% link_for _('Users'), controller='user', action='index' %}
  • {% with title = _('Your Profile') if c.is_myself else user.display_name %}
  • {% link_for title|truncate(35), controller='user', action='read', id=user.name %}
  • {% endwith %}