Skip to content

Commit

Permalink
[#2753] fix user breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jul 25, 2012
1 parent 3ba5d03 commit e03c1e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/user/list.html
Expand Up @@ -3,7 +3,7 @@
{% block title %}{{ _('All Users') }} - {{ super() }}{% endblock %}

{% block breadcrumb_content %}
<li class="active">{{ h.nav_link(_('active'), controller='user', action='index') }}</li>
<li class="active">{{ h.nav_link(_('Users'), controller='user', action='index') }}</li>
{% endblock %}

{% block primary_content %}
Expand Down
2 changes: 1 addition & 1 deletion ckan/templates/user/read.html
Expand Up @@ -5,7 +5,7 @@
{% block title %}{{ user.display_name }} - {{ super() }}{% endblock %}

{% block breadcrumb_content %}
<li>{% link_for _('User'), controller='user', action='index' %}</li>
<li>{% link_for _('Users'), controller='user', action='index' %}</li>
{% with title = _('Your Profile') if c.is_myself else user.display_name %}
<li class="active">{% link_for title|truncate(35), controller='user', action='read', id=user.name %}</li>
{% endwith %}
Expand Down

0 comments on commit e03c1e1

Please sign in to comment.