navbar: Reorder elements in gear menu.

This commit is contained in:
Tim Abbott 2021-05-12 07:54:05 -07:00
parent 051dab58ea
commit 02676d5400
1 changed files with 19 additions and 19 deletions

View File

@ -76,7 +76,15 @@
<span>{{ _('Manage organization') }}</span> <span>{{ _('Manage organization') }}</span>
</a> </a>
</li> </li>
<li class="divider"></li> {% if not is_guest %}
<li role="presentation">
<a href="/stats" target="_blank" rel="noopener noreferrer" role="menuitem">
<i class="fa fa-bar-chart" aria-hidden="true"></i>
<span>{{ _('Statistics') }}</span>
</a>
</li>
{% endif %}
<li class="divider" role="presentation"></li>
<li role="presentation"> <li role="presentation">
<a href="/help" target="_blank" rel="noopener noreferrer" role="menuitem"> <a href="/help" target="_blank" rel="noopener noreferrer" role="menuitem">
<i class="fa fa-question-circle" aria-hidden="true"></i> {{ _('Help center') }} <i class="fa fa-question-circle" aria-hidden="true"></i> {{ _('Help center') }}
@ -97,13 +105,6 @@
<i class="fa fa-search" aria-hidden="true"></i> {{ _('Search operators') }} <i class="fa fa-search" aria-hidden="true"></i> {{ _('Search operators') }}
</a> </a>
</li> </li>
{% if corporate_enabled %}
<li role="presentation">
<a href="/help/contact-support" target="_blank" rel="noopener noreferrer" role="menuitem">
<i class="fa fa-envelope" aria-hidden="true"></i> {{ _('Contact support') }}
</a>
</li>
{% endif %}
{% if development_environment %} {% if development_environment %}
<li role="presentation" id="gear_menu_about_zulip"> <li role="presentation" id="gear_menu_about_zulip">
<a href="#about-zulip" role="menuitem" class="menuitem-version"> <a href="#about-zulip" role="menuitem" class="menuitem-version">
@ -112,6 +113,13 @@
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if corporate_enabled %}
<li role="presentation">
<a href="/help/contact-support" target="_blank" rel="noopener noreferrer" role="menuitem">
<i class="fa fa-envelope" aria-hidden="true"></i> {{ _('Contact support') }}
</a>
</li>
{% endif %}
<li class="divider" role="presentation"></li> <li class="divider" role="presentation"></li>
<li role="presentation"> <li role="presentation">
<a href="{{ apps_page_url }}" target="_blank" rel="noopener noreferrer" role="menuitem"> <a href="{{ apps_page_url }}" target="_blank" rel="noopener noreferrer" role="menuitem">
@ -128,11 +136,10 @@
<i class="fa fa-sitemap" aria-hidden="true"></i> {{ _('API documentation') }} <i class="fa fa-sitemap" aria-hidden="true"></i> {{ _('API documentation') }}
</a> </a>
</li> </li>
{% if not is_guest %} {% if show_billing %}
<li role="presentation"> <li role="presentation">
<a href="/stats" target="_blank" rel="noopener noreferrer" role="menuitem"> <a href="/billing" target="_blank" rel="noopener noreferrer" role="menuitem">
<i class="fa fa-bar-chart" aria-hidden="true"></i> <i class="fa fa-credit-card" aria-hidden="true"></i> {{ _('Billing') }}
<span>{{ _('Statistics') }}</span>
</a> </a>
</li> </li>
{% endif %} {% endif %}
@ -150,13 +157,6 @@
</a> </a>
</li> </li>
{% endif %} {% endif %}
{% if show_billing %}
<li role="presentation">
<a href="/billing" target="_blank" rel="noopener noreferrer" role="menuitem">
<i class="fa fa-credit-card" aria-hidden="true"></i> {{ _('Billing') }}
</a>
</li>
{% endif %}
<li class="divider" role="presentation"></li> <li class="divider" role="presentation"></li>
{% if show_invites %} {% if show_invites %}
<li role="presentation"> <li role="presentation">