mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
* Initial work on #8248 * Add tests * Fix tests * Add feature query for bookmarks * Add BookmarksWidget * Correct generic relation name * Add docs for bookmarks * Remove inheritance from ChangeLoggedModel
30 lines
1.2 KiB
HTML
30 lines
1.2 KiB
HTML
{% extends 'base/layout.html' %}
|
|
|
|
{% block tabs %}
|
|
<ul class="nav nav-tabs px-3">
|
|
<li role="presentation" class="nav-item">
|
|
<a class="nav-link{% if active_tab == 'profile' %} active{% endif %}" href="{% url 'users:profile' %}">Profile</a>
|
|
</li>
|
|
<li role="presentation" class="nav-item">
|
|
<a class="nav-link{% if active_tab == 'bookmarks' %} active{% endif %}" href="{% url 'users:bookmarks' %}">Bookmarks</a>
|
|
</li>
|
|
<li role="presentation" class="nav-item">
|
|
<a class="nav-link{% if active_tab == 'preferences' %} active{% endif %}" href="{% url 'users:preferences' %}">Preferences</a>
|
|
</li>
|
|
{% if not request.user.ldap_username %}
|
|
<li role="presentation" class="nav-item">
|
|
<a class="nav-link{% if active_tab == 'password' %} active{% endif %}" href="{% url 'users:change_password' %}">Password</a>
|
|
</li>
|
|
{% endif %}
|
|
<li role="presentation" class="nav-item">
|
|
<a class="nav-link{% if active_tab == 'api-tokens' %} active{% endif %}" href="{% url 'users:token_list' %}">API Tokens</a>
|
|
</li>
|
|
</ul>
|
|
{% endblock %}
|
|
|
|
{% block content-wrapper %}
|
|
<div class="tab-content">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
{% endblock %}
|