diff --git a/blazar_dashboard/api/client.py b/blazar_dashboard/api/client.py index 88f787a..e97c99c 100644 --- a/blazar_dashboard/api/client.py +++ b/blazar_dashboard/api/client.py @@ -33,8 +33,7 @@ class Lease(base.APIDictWrapper): ) = ('IN_PROGRESS', 'FAILED', 'COMPLETE') _attrs = ['id', 'name', 'start_date', 'end_date', 'user_id', 'project_id', - 'before_end_date', 'action', 'status', 'status_reason', - 'degraded'] + 'before_end_date', 'status', 'degraded'] def __init__(self, apiresource): super(Lease, self).__init__(apiresource) diff --git a/blazar_dashboard/content/leases/tables.py b/blazar_dashboard/content/leases/tables.py index 735ff14..42a0d29 100644 --- a/blazar_dashboard/content/leases/tables.py +++ b/blazar_dashboard/content/leases/tables.py @@ -84,9 +84,7 @@ class LeasesTable(tables.DataTable): filters=(filters.parse_isotime, partial(django_filters.date, arg='Y-m-d H:i T')),) - action = tables.Column("action", verbose_name=_("Action"),) status = tables.Column("status", verbose_name=_("Status"),) - status_reason = tables.Column("status_reason", verbose_name=_("Reason"),) degraded = tables.Column("degraded", verbose_name=_("Degraded"), filters=(django_filters.yesno, django_filters.capfirst),) diff --git a/blazar_dashboard/content/leases/templates/leases/_detail_overview.html b/blazar_dashboard/content/leases/templates/leases/_detail_overview.html index c18aca6..bc91f41 100644 --- a/blazar_dashboard/content/leases/templates/leases/_detail_overview.html +++ b/blazar_dashboard/content/leases/templates/leases/_detail_overview.html @@ -15,12 +15,8 @@