Link to OSM user page from navbar when logged in

This commit is contained in:
Edward Betts 2021-07-16 11:11:41 +02:00
parent 3e5dc908fa
commit b738be0261

View file

@ -19,7 +19,7 @@
<ul class="navbar-nav"> <ul class="navbar-nav">
{% if username %} {% if username %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="#">{{ username }}</a> <a class="nav-link" href="https://www.openstreetmap.org/user/{{username }}/">{{ username }}</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="/logout">Logout</a> <a class="nav-link" href="/logout">Logout</a>