Change "My Maps" to "My Dashboard" in navigation

This commit is contained in:
Yohan Boniface 2023-08-25 10:11:04 +02:00
parent 77a13eb0f0
commit 1b769bf07c
2 changed files with 2 additions and 2 deletions

View file

@ -1000,7 +1000,7 @@ L.U.Map.include({
'a', 'a',
'umap-user', 'umap-user',
container, container,
L._(`My maps ({username})`, { username: this.options.user.name }) L._(`My Dashboard ({username})`, { username: this.options.user.name })
) )
userLabel.href = this.options.user.url userLabel.href = this.options.user.url
} }

View file

@ -9,7 +9,7 @@
<ul> <ul>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li> <li>
<a href="{% url 'user_dashboard' %}">{% trans "My maps" %} ({{ user }})</a> <a href="{% url 'user_dashboard' %}">{% trans "My Dashboard" %} ({{ user }})</a>
</li> </li>
<li> <li>
<a href="{{ user.get_stars_url }}">{% trans "Starred maps" %}</a> <a href="{{ user.get_stars_url }}">{% trans "Starred maps" %}</a>