Reorder 'Settings' in user dropdown

This commit is contained in:
rubenwardy 2020-12-05 21:14:48 +00:00
parent 085f0b49c6
commit e1d6c4f5f5

@ -104,9 +104,6 @@
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{ url_for('users.profile', username=current_user.username) }}">Profile</a> <a class="nav-link" href="{{ url_for('users.profile', username=current_user.username) }}">Profile</a>
</li> </li>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('users.profile_edit', username=current_user.username) }}">Settings</a>
</li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{ url_for('users.profile', username=current_user.username) }}#unadded-topics">Your unadded topics</a> <a class="nav-link" href="{{ url_for('users.profile', username=current_user.username) }}#unadded-topics">Your unadded topics</a>
</li> </li>
@ -131,6 +128,9 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<li class="nav-item">
<a class="nav-link" href="{{ url_for('users.profile_edit', username=current_user.username) }}">Settings</a>
</li>
<li class="nav-item"><a class="nav-link" href="{{ url_for('users.logout') }}">{{ _("Sign out") }}</a></li> <li class="nav-item"><a class="nav-link" href="{{ url_for('users.logout') }}">{{ _("Sign out") }}</a></li>
</ul> </ul>
</li> </li>