diff --git a/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html b/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html index 7933a0d32b..569c3a6d21 100644 --- a/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html +++ b/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_overview.html @@ -107,8 +107,9 @@
{% trans "Key Name" %}
- {% with default_key_name=""|add:_("None")|add:"" %} -
{{ instance.key_name|default:default_key_name }}
+ {% trans "None" as default_key_name %} + {% with formatted_default_key_name=""|add:default_key_name|add:"" %} +
{{ instance.key_name|default:formatted_default_key_name }}
{% endwith %} {% url 'horizon:project:images:images:detail' instance.image.id as image_url %}
{% trans "Image Name" %}