Skip to content

Commit

Permalink
"My account" to "My Account"
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Souhei committed Sep 25, 2024
1 parent 23baa7e commit c77da43
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ckanext/zarr/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@
) }}
{% endblock %}


{% block my_account %}
{% set path_is_activity = request.path == '/dashboard/' %}
<li class="{% if user_dict.name == g.userobj.name %}{% if path_is_activity %}active{% endif %} my_account{% endif %}">
<a href="{{ h.url_for('activity.dashboard') }}">{{ _('My Account') }}</a>
</li>
{% endblock %}

0 comments on commit c77da43

Please sign in to comment.