diff --git a/zaqar_ui/api/zaqar.py b/zaqar_ui/api/zaqar.py index ce843c3..1bf7db5 100644 --- a/zaqar_ui/api/zaqar.py +++ b/zaqar_ui/api/zaqar.py @@ -93,6 +93,8 @@ def subscription_list(request, queue_name): return [{'subscriber': s.subscriber, 'id': s.id, 'ttl': s.ttl, + 'age': s.age, + 'confirmed': s.confirmed, 'options': s.options} for s in zaqarclient(request).subscriptions(queue_name)] @@ -102,6 +104,8 @@ def subscription_create(request, queue_name, sub_data): return {'subscriber': subscription.subscriber, 'id': subscription.id, 'ttl': subscription.ttl, + 'age': subscription.age, + 'confirmed': subscription.confirmed, 'options': subscription.options} diff --git a/zaqar_ui/static/dashboard/project/queues/table/subscription.html b/zaqar_ui/static/dashboard/project/queues/table/subscription.html index 66a2b7f..441de99 100644 --- a/zaqar_ui/static/dashboard/project/queues/table/subscription.html +++ b/zaqar_ui/static/dashboard/project/queues/table/subscription.html @@ -5,6 +5,8 @@