summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyeYu <troyspur@gmail.com>2018-05-09 14:36:58 +0900
committerJiyeYu <troyspur@gmail.com>2018-05-11 17:39:48 +0900
commit2fe9ca196546409b23fdee9dc5d312c0c4eac9ab (patch)
tree9f37571660d7eef579dab32eb9b02ef51912aea5
parent13dd13e56179d49e815552e4bde25227f14b4150 (diff)
Modified typo on Change Stack's pop-up Window.
In stack update's pop-up window, the description and form help text is still using creation, not updating. That's not good. Change-Id: I81c839f52918da276125f377ea829c3da8b3c4a8 Task: #18912 Story: #1767266
Notes
Notes (review): Code-Review+2: Xinni Ge <xinni.ge1990@gmail.com> Code-Review+2: Kazunori Shinohara <ksnhr.tech@gmail.com> Workflow+1: Kazunori Shinohara <ksnhr.tech@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 15 May 2018 05:54:09 +0000 Reviewed-on: https://review.openstack.org/567118 Project: openstack/heat-dashboard Branch: refs/heads/master
-rw-r--r--heat_dashboard/content/stacks/forms.py4
-rw-r--r--heat_dashboard/content/stacks/templates/stacks/_change_template.html2
2 files changed, 5 insertions, 1 deletions
diff --git a/heat_dashboard/content/stacks/forms.py b/heat_dashboard/content/stacks/forms.py
index 0f86b49..869e2aa 100644
--- a/heat_dashboard/content/stacks/forms.py
+++ b/heat_dashboard/content/stacks/forms.py
@@ -434,6 +434,10 @@ class EditStackForm(CreateStackForm):
434 stack_name = forms.CharField( 434 stack_name = forms.CharField(
435 label=_('Stack Name'), 435 label=_('Stack Name'),
436 widget=forms.TextInput(attrs={'readonly': 'readonly'})) 436 widget=forms.TextInput(attrs={'readonly': 'readonly'}))
437 timeout_mins = forms.IntegerField(
438 initial=60,
439 label=_('Updating Timeout (minutes)'),
440 help_text=_('Stack updating timeout in minutes.'))
437 441
438 @sensitive_variables('password') 442 @sensitive_variables('password')
439 def handle(self, request, data): 443 def handle(self, request, data):
diff --git a/heat_dashboard/content/stacks/templates/stacks/_change_template.html b/heat_dashboard/content/stacks/templates/stacks/_change_template.html
index 72b61b9..44e7069 100644
--- a/heat_dashboard/content/stacks/templates/stacks/_change_template.html
+++ b/heat_dashboard/content/stacks/templates/stacks/_change_template.html
@@ -4,5 +4,5 @@
4{% block modal-body-right %} 4{% block modal-body-right %}
5 <h3>{% trans "Description:" %}</h3> 5 <h3>{% trans "Description:" %}</h3>
6 <p>{% trans "A template is used to automate the deployment of infrastructure, services, and applications." %}</p> 6 <p>{% trans "A template is used to automate the deployment of infrastructure, services, and applications." %}</p>
7 <p>{% trans "Use one of the available template source options to specify the template to be used in creating this stack." %}</p> 7 <p>{% trans "Use one of the available template source options to specify the template to be used in changing this stack." %}</p>
8{% endblock %} 8{% endblock %}