From 69d25c4ca38922c06e8e95627a521e385586fc7d Mon Sep 17 00:00:00 2001 From: liyingjun Date: Mon, 9 Mar 2015 13:52:22 +0800 Subject: [PATCH] Always show stack status reason in topology Currently, only when the stack is in error status, the stack status reason will be displayed, otherwise, there will be two line with exactly same words, and this makes the enduser confuse. So fixes this by changing to not show anything when stack in not in error status. Change-Id: Ifcd8def6b452ecccef9a8daa0e31504cffa2d6ad Closes-bug: #1428580 --- .../project/stacks/templates/stacks/_stack_info.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openstack_dashboard/dashboards/project/stacks/templates/stacks/_stack_info.html b/openstack_dashboard/dashboards/project/stacks/templates/stacks/_stack_info.html index 3b548aa58d..6e657cb3b3 100644 --- a/openstack_dashboard/dashboards/project/stacks/templates/stacks/_stack_info.html +++ b/openstack_dashboard/dashboards/project/stacks/templates/stacks/_stack_info.html @@ -6,11 +6,9 @@
{% if stack.stack_status == 'CREATE_FAILED' %}

{{ stack.stack_status_reason }}

-{% else %} -

{{ stack.stack_status_desc }}

{% endif %} {% for output in stack.outputs %} {% if output.output_key == 'WebsiteURL' %} {{ output.description }} {% endif %} -{% endfor %} \ No newline at end of file +{% endfor %}