move subdomain to a better place on the menu

This commit is contained in:
Son 2021-11-15 11:52:06 +01:00
parent eaff8b7ff3
commit 8c56fde84d

View file

@ -7,12 +7,15 @@
</a>
</li>
<li class="nav-item">
<a href="{{ url_for('dashboard.directory') }}"
class="nav-link {{ 'active' if active_page == 'directory' }}">
<i class="fe fe-folder"></i> Directories
</a>
</li>
{% if current_user.subdomain_is_available() %}
<li class="nav-item">
<a href="{{ url_for('dashboard.subdomain_route') }}"
class="nav-link {{ 'active' if active_page == 'subdomain' }}">
<i class="fe fe-server"></i> Subdomains
<span class="badge badge-success" style="line-height: .7em; margin-top: 2px">New</span>
</a>
</li>
{% endif %}
<li class="nav-item">
<a href="{{ url_for('dashboard.mailbox_route') }}"
@ -28,15 +31,12 @@
</a>
</li>
{% if current_user.subdomain_is_available() %}
<li class="nav-item">
<a href="{{ url_for('dashboard.subdomain_route') }}"
class="nav-link {{ 'active' if active_page == 'subdomain' }}">
<i class="fe fe-server"></i> Subdomains
<span class="badge badge-success" style="line-height: .7em; margin-top: 2px">New</span>
</a>
</li>
{% endif %}
<li class="nav-item">
<a href="{{ url_for('dashboard.directory') }}"
class="nav-link {{ 'active' if active_page == 'directory' }}">
<i class="fe fe-folder"></i> Directories
</a>
</li>
<!--
<li class="nav-item">