{% load i18n %}
<option
  value="browse"
  data-href="{% url 'pootle-projects-browse' %}">
  {% trans "Browse" %}
</option>
<option
  value="translate"
  data-href="{% url 'pootle-projects-translate' %}">
  {% trans "Translate" %}
</option>
{% if page == 'translate' %}
<option disabled></option>
<option
  value="export" class="js-export-view"
  data-new-tab="true"
  data-export-url="{% url 'pootle-projects-export-view' %}">
  {% trans "Export View" %}
</option>
{% endif %}
{% if user.is_superuser or request.permissions.administrate %}
<option disabled></option>
<option
  value="admin-languages" class="admin"
  data-href="{% url 'pootle-admin-languages' %}">
  {% trans "Languages" %}
</option>
<option
  value="admin-permissions" class="admin"
  data-href="{% url 'pootle-admin-permissions' %}">
  {% trans "Permissions" %}
</option>
{% endif %}
