mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Add statistics link to user dropdown in navbar
This commit is contained in:
parent
9f375c6235
commit
b370b3bab2
@ -130,6 +130,11 @@
|
||||
{{ _("To do list") }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="{{ url_for('users.statistics', username=current_user.username) }}">
|
||||
{{ _("Statistics") }}
|
||||
</a>
|
||||
</li>
|
||||
{% if current_user.rank.atLeast(current_user.rank.EDITOR) or check_global_perm(current_user, "CREATE_TAG") %}
|
||||
<li class="dropdown-divider"></li>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user