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
This commit is contained in:
parent
699e423010
commit
69d25c4ca3
@ -6,11 +6,9 @@
|
||||
<div class="clear"></div>
|
||||
{% if stack.stack_status == 'CREATE_FAILED' %}
|
||||
<p class="error">{{ stack.stack_status_reason }}</p>
|
||||
{% else %}
|
||||
<p>{{ stack.stack_status_desc }}</p>
|
||||
{% endif %}
|
||||
{% for output in stack.outputs %}
|
||||
{% if output.output_key == 'WebsiteURL' %}
|
||||
<a href="{{ output.output_value }}">{{ output.description }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user