Merge "Show database operating status"
This commit is contained in:
commit
2dab2c7f25
|
@ -733,9 +733,13 @@ class InstancesTable(tables.DataTable):
|
||||||
attrs={'data-type': 'size'})
|
attrs={'data-type': 'size'})
|
||||||
status = tables.Column("status",
|
status = tables.Column("status",
|
||||||
verbose_name=_("Status"),
|
verbose_name=_("Status"),
|
||||||
status=True,
|
|
||||||
status_choices=STATUS_CHOICES,
|
status_choices=STATUS_CHOICES,
|
||||||
display_choices=STATUS_DISPLAY_CHOICES)
|
display_choices=STATUS_DISPLAY_CHOICES)
|
||||||
|
operating_status = tables.Column("operating_status",
|
||||||
|
verbose_name=_("Operating Status"),
|
||||||
|
status=True,
|
||||||
|
status_choices=STATUS_CHOICES,
|
||||||
|
display_choices=STATUS_DISPLAY_CHOICES)
|
||||||
|
|
||||||
class Meta(object):
|
class Meta(object):
|
||||||
name = "databases"
|
name = "databases"
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
<dd>{{ instance.datastore.version }}</dd>
|
<dd>{{ instance.datastore.version }}</dd>
|
||||||
<dt>{% trans "Status" %}</dt>
|
<dt>{% trans "Status" %}</dt>
|
||||||
<dd>{{ instance.status|title }}</dd>
|
<dd>{{ instance.status|title }}</dd>
|
||||||
|
<dt>{% trans "Operating Status" %}</dt>
|
||||||
|
<dd>{{ instance.operating_status|title }}</dd>
|
||||||
{% if instance.configuration %}
|
{% if instance.configuration %}
|
||||||
<dt>{% trans "Configuration Group" %}</dt>
|
<dt>{% trans "Configuration Group" %}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
Loading…
Reference in New Issue