Skip to content

Commit f03037f

Browse files
authored
Merge pull request #16 from hotosm/fix/header
2 parents bb262fb + 6b939a1 commit f03037f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/custom/templates/umap/navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</section>
88

99
<section>
10-
<button class="nav-hamburger" aria-label="Menu" onclick="this.closest('nav').querySelector('.nav-links').classList.toggle('open'); this.setAttribute('aria-expanded', this.getAttribute('aria-expanded') !== 'true'); this.textContent = this.getAttribute('aria-expanded') === 'true' ? 'X' : 'Menu'" aria-expanded="false">Menu</button>
10+
<button class="nav-hamburger" aria-label="Menu" onclick="this.closest('nav').querySelector('.nav-links').classList.toggle('open'); this.setAttribute('aria-expanded', this.getAttribute('aria-expanded') !== 'true'); this.textContent = this.getAttribute('aria-expanded') === 'true' ? '' : ''" aria-expanded="false"></button>
1111
<ul class="nav-links">
1212
{% if AUTH_PROVIDER != 'hanko' %}
1313
{% if user.is_authenticated %}<li><a href="{% url 'user_dashboard' %}">{% trans "My Dashboard" %} ({{ user }})</a></li><li><a href="{{ user.get_stars_url }}">{% trans "Starred maps" %}</a></li>{% else %}<li><a href="{% url 'login' %}" class="login">{% trans "Log in" %} / {% trans "Sign in" %}</a></li>{% endif %}

0 commit comments

Comments
 (0)