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