{% load i18n %}
{% if launch_instance_allowed %} {% if show_ng_launch %} {% url 'horizon:project:network_topology:index' as networkUrl %} {% if instance_quota_exceeded %} {% trans "Launch Instance (Quota exceeded)" %} {% else %} {% trans "Launch Instance" %} {% endif %} {% endif %} {% if show_legacy_launch %} {% if instance_quota_exceeded %} {% trans "Launch Instance (Quota exceeded)" %} {% else %} {% trans "Launch Instance" %} {% endif %} {% endif %} {% endif %} {% if create_network_allowed %} {% if network_quota_exceeded %} {% trans "Create Network (Quota exceeded)" %} {% else %} {% trans "Create Network" %} {% endif %} {% endif %} {% if create_router_allowed %} {% if router_quota_exceeded %} {% trans "Create Router (Quota exceeded)" %} {% else %} {% trans "Create Router" %} {% endif %} {% endif %}