Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Simplify the dashboard datasets tab label as humanize_entity_type wil…
Browse files Browse the repository at this point in the history
…l return 'My Datas'
  • Loading branch information
A-Souhei committed Oct 11, 2024
1 parent 319ab5d commit e3ad0ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ckanext/zarr/templates/user/dashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% ckan_extends %}

{% block dashboard_nav_links %}
{{ h.build_nav_icon('activity.dashboard', _('Newsfeed')) }}
{{ h.build_nav_icon('dashboard.datasets', _('My Data')) }}
{{ h.build_nav_icon('dashboard.organizations', h.humanize_entity_type('organization', org_type, 'my label') or _('My organizations')) }}
{{ h.build_nav_icon('activity.dashboard', _('My activity'), type='user', name=user.name, id="user_activity") }}
{% endblock dashboard_nav_links %}

0 comments on commit e3ad0ea

Please sign in to comment.