From c0abfd6f0b1433b75deffd8eff03b51889aac285 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 18 May 2022 12:46:57 +0200 Subject: [PATCH] change version --- ereuse_devicehub/parser/models.py | 2 +- ereuse_devicehub/templates/inventory/snapshots_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ereuse_devicehub/parser/models.py b/ereuse_devicehub/parser/models.py index a2621daa..82f272dc 100644 --- a/ereuse_devicehub/parser/models.py +++ b/ereuse_devicehub/parser/models.py @@ -15,7 +15,7 @@ class SnapshotsLog(Thing): id = Column(BigInteger, Sequence('snapshots_log_seq'), primary_key=True) severity = Column(SmallInteger, default=Severity.Info, nullable=False) - workbench_version = Column(CIText(), default='', nullable=True) + version = Column(CIText(), default='', nullable=True) description = Column(CIText(), default='', nullable=True) sid = Column(CIText(), nullable=True) dhid = Column(CIText(), nullable=True) diff --git a/ereuse_devicehub/templates/inventory/snapshots_list.html b/ereuse_devicehub/templates/inventory/snapshots_list.html index 0de896bb..22ecd74d 100644 --- a/ereuse_devicehub/templates/inventory/snapshots_list.html +++ b/ereuse_devicehub/templates/inventory/snapshots_list.html @@ -44,7 +44,7 @@ {{ snap.snapshot_uuid }} - {{ snap.workbench_version }} + {{ snap.version }} {% if snap.snapshot %}