Merge "Description clean-up for volume actions"
This commit is contained in:
commit
29f3782352
@ -17,7 +17,7 @@
|
||||
<div class="right">
|
||||
<h3>{% trans "Description:" %}</h3>
|
||||
<p>{% blocktrans %}
|
||||
From here you can change the volume type of a volume after its creation.
|
||||
Change the volume type of a volume after its creation.
|
||||
This is equivalent to the <tt>cinder retype</tt> command.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
@ -17,7 +17,7 @@
|
||||
<div class="right">
|
||||
<h3>{% trans "Description:" %}</h3>
|
||||
<p>{% blocktrans %}
|
||||
From here you can upload the volume to the Image Service as an image.
|
||||
Upload the volume to the Image Service as an image.
|
||||
This is equivalent to the <tt>cinder upload-to-image</tt> command.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
@ -520,8 +520,7 @@ class UploadToImageForm(forms.SelfHandlingForm):
|
||||
name = forms.CharField(label=_('Volume Name'),
|
||||
widget=forms.TextInput(
|
||||
attrs={'readonly': 'readonly'}))
|
||||
image_name = forms.CharField(max_length="255", label=_('Image Name'),
|
||||
required=True)
|
||||
image_name = forms.CharField(max_length="255", label=_('Image Name'))
|
||||
disk_format = forms.ChoiceField(label=_('Disk Format'),
|
||||
widget=forms.Select(),
|
||||
required=False)
|
||||
@ -617,8 +616,7 @@ class RetypeForm(forms.SelfHandlingForm):
|
||||
name = forms.CharField(label=_('Volume Name'),
|
||||
widget=forms.TextInput(
|
||||
attrs={'readonly': 'readonly'}))
|
||||
volume_type = forms.ChoiceField(label=_('Type'),
|
||||
required=True)
|
||||
volume_type = forms.ChoiceField(label=_('Type'))
|
||||
MIGRATION_POLICY_CHOICES = [('never', _('Never')),
|
||||
('on-demand', _('On Demand'))]
|
||||
migration_policy = forms.ChoiceField(label=_('Migration Policy'),
|
||||
|
Loading…
Reference in New Issue
Block a user