{% load i18n sizeformat %}

<div class="detail">
    <dl class="dl-horizontal">
        <dt>{% trans "Name" %}</dt>
        <dd>{{ cluster.name }}</dd>
        <dt>{% trans "ID" %}</dt>
        <dd>{{ cluster.id }}</dd>
        <dt>{% trans "Datastore" %}</dt>
        <dd>{{ cluster.datastore.type }}</dd>
        <dt>{% trans "Datastore Version" %}</dt>
        <dd>{{ cluster.datastore.version }}</dd>
        <dt>{% trans "Current Task" %}</dt>
        <dd>{{ cluster.task.name|title }}</dd>
        <dt>{% trans "RAM" %}</dt>
        <dd>{{ cluster.full_flavor.ram|mbformat }}</dd>
        <dt>{% trans "Number of Instances" %}</dt>
        <dd>{{ cluster.num_instances }}</dd>
    </dl>
</div>

{% block connection_info %}
{% endblock %}

{% load i18n sizeformat %}

<div class="detail">
    <dl class="dl-horizontal">
        <dt>{% trans "Name" %}</dt>
        <dd>{{ cluster.name }}</dd>
        <dt>{% trans "ID" %}</dt>
        <dd>{{ cluster.id }}</dd>
        <dt>{% trans "Datastore" %}</dt>
        <dd>{{ cluster.datastore.type }}</dd>
        <dt>{% trans "Datastore Version" %}</dt>
        <dd>{{ cluster.datastore.version }}</dd>
        <dt>{% trans "Current Task" %}</dt>
        <dd>{{ cluster.task.name|title }}</dd>
        <dt>{% trans "RAM" %}</dt>
        <dd>{{ cluster.full_flavor.ram|mbformat }}</dd>
        <dt>{% trans "Number of Instances" %}</dt>
        <dd>{{ cluster.num_instances }}</dd>
    </dl>

{% block connection_info %}
{% endblock %}
</div>

Fix cluster connection information formatting
Fix cluster connection information formatting

The table formatting is bad. This is because the <div> is being
terminated too early in database_clusters/_detail_overview.html.

Change-Id: I97cf19f76167c2aee85daebb450504a99111224c
Closes-bug: #1536243
