make top navlinks into <ul>
This commit is contained in:
@@ -12,22 +12,19 @@
|
||||
{% else %}
|
||||
{% with user = get_active_user() %}
|
||||
Welcome, <a href="{{ url_for("users.page", username = user.username) }}">{{user.username}}</a>
|
||||
•
|
||||
<a href="{{ url_for("users.settings", username = user.username) }}">Settings</a>
|
||||
•
|
||||
<a href="{{ url_for("users.inbox", username = user.username) }}">Inbox</a>
|
||||
{% if config.DISABLE_SIGNUP and user.can_invite() %}
|
||||
•
|
||||
<a href="{{ url_for('users.invite_links', username=user.username )}}">Invite to {{ config.SITE_NAME }}</a>
|
||||
{% endif %}
|
||||
{% if not user.is_guest() %}
|
||||
•
|
||||
<a href="{{ url_for('users.bookmarks', username=user.username) }}">Bookmarks</a>
|
||||
{% endif %}
|
||||
{% if user.is_mod() %}
|
||||
•
|
||||
<a href="{{ url_for("mod.user_list") }}">User list</a>
|
||||
{% endif %}
|
||||
<ul>
|
||||
<li><a href="{{ url_for("users.settings", username = user.username) }}">Settings</a></li>
|
||||
<li><a href="{{ url_for("users.inbox", username = user.username) }}">Inbox</a></li>
|
||||
{% if config.DISABLE_SIGNUP and user.can_invite() %}
|
||||
<li><a href="{{ url_for('users.invite_links', username=user.username )}}">Invite to {{ config.SITE_NAME }}</a></li>
|
||||
{% endif %}
|
||||
{% if not user.is_guest() %}
|
||||
<li><a href="{{ url_for('users.bookmarks', username=user.username) }}">Bookmarks</a></li>
|
||||
{% endif %}
|
||||
{% if user.is_mod() %}
|
||||
<li><a href="{{ url_for("mod.user_list") }}">User list</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user