Always display server description
The description field is only shown when the description of a corresponding server has non-empty string. It is better to display "description" field regardless of its value. "description" field is supported since Mitaka release, so this commit always shows 'description' field rather than showing the field conditionally. Change-Id: I2064c6e8a625d4362ce00218528a09ef734087fc Closes-Bug: #1737558
This commit is contained in:
parent
0de482077d
commit
84216cb0f5
@ -4,10 +4,8 @@
|
||||
<dl class="dl-horizontal">
|
||||
<dt>{% trans "Name" %}</dt>
|
||||
<dd data-display="{{ instance.name|default:instance.id }}">{{ instance.name }}</dd>
|
||||
{% if instance.description != None %}
|
||||
<dt>{% trans "Description" %}</dt>
|
||||
<dd>{{ instance.description }}</dd>
|
||||
{% endif %}
|
||||
<dd>{{ instance.description|default:_("-") }}</dd>
|
||||
<dt>{% trans "ID" %}</dt>
|
||||
<dd>{{ instance.id }}</dd>
|
||||
<dt>{% trans "Status" %}</dt>
|
||||
|
Loading…
Reference in New Issue
Block a user