Merge "Replace "group spec" with "group type spec""
This commit is contained in:
commit
fbd2f0f8c2
@ -71,7 +71,7 @@ class EditSpec(forms.SelfHandlingForm):
|
|||||||
api.cinder.group_type_spec_set(request,
|
api.cinder.group_type_spec_set(request,
|
||||||
group_type_id,
|
group_type_id,
|
||||||
{key: data['value']})
|
{key: data['value']})
|
||||||
msg = _('Saved group spec "%s".') % key
|
msg = _('Saved group type spec "%s".') % key
|
||||||
messages.success(request, msg)
|
messages.success(request, msg)
|
||||||
return True
|
return True
|
||||||
except Exception:
|
except Exception:
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
|
|
||||||
{% block modal-body-right %}
|
{% block modal-body-right %}
|
||||||
<h3>{% trans "Description:" %}</h3>
|
<h3>{% trans "Description:" %}</h3>
|
||||||
<p>{% trans 'Create a new "group spec" key-value pair for a group type.' %}</p>
|
<p>{% trans 'Create a new "group type spec" key-value pair for a group type.' %}</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
|
|
||||||
{% block modal-body-right %}
|
{% block modal-body-right %}
|
||||||
<h3>{% trans "Description:" %}</h3>
|
<h3>{% trans "Description:" %}</h3>
|
||||||
<p>{% blocktrans with key=key %}Update the "group spec" value for "{{ key }}"{% endblocktrans %}</p>
|
<p>{% blocktrans with key=key %}Update the "group type spec" value for "{{ key }}"{% endblocktrans %}</p>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user