horizon/openstack_dashboard/templates/context_selection/_overview.html
Radomir Dopieralski 34a0159d1a Add system scope support to context switcher
Change-Id: Idd2ec7ae6e978a358b4b3639e86cadae06c90976
2021-11-26 14:09:46 +01:00

20 lines
596 B
HTML

{% load i18n %}
<span class="fa fa-list-alt"></span>
<span class="context-overview">
{% if domain_supported %}
<span class="context-domain">{{ domain_name }}</span>
<span class="fa fa-circle context-delimiter"></span>
{% endif %}
{% if project_name %}
<span class="context-project">{{ project_name }}</span>
{% endif %}
{% if multi_region %}
<span class="fa fa-circle context-delimiter"></span>
<span class="context-region">{{ region_name }}</span>
{% endif %}
{% if system_scoped %}
<span class="context-system">{% trans "system scope" %}</span>
{% endif %}
</span>