summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/backups/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/project/backups/tables.py')
-rw-r--r--openstack_dashboard/dashboards/project/backups/tables.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/openstack_dashboard/dashboards/project/backups/tables.py b/openstack_dashboard/dashboards/project/backups/tables.py
index 4cbf34ef8..6c0a1c46d 100644
--- a/openstack_dashboard/dashboards/project/backups/tables.py
+++ b/openstack_dashboard/dashboards/project/backups/tables.py
@@ -197,3 +197,21 @@ class BackupsTable(tables.DataTable):
row_class = UpdateRow
table_actions = (DeleteBackup,)
row_actions = (RestoreBackup, DeleteBackup)
+
+
+class BackupMessagesTable(tables.DataTable):
+ message_id = tables.Column("id", verbose_name=_("ID"))
+ message_level = tables.Column("message_level",
+ verbose_name=_("Message Level"))
+ event_id = tables.Column("event_id",
+ verbose_name=_("Event Id"))
+ user_message = tables.Column("user_message",
+ verbose_name=_("User Message"))
+ created_at = tables.Column("created_at",
+ verbose_name=_("Created At"))
+ guaranteed_until = tables.Column("guaranteed_until",
+ verbose_name=_("Guaranteed Until"))
+
+ class Meta(object):
+ name = "backup_messages"
+ verbose_name = _("Messages")