diff --git a/bricktracker/sql_counter.py b/bricktracker/sql_counter.py index d104269..7175494 100644 --- a/bricktracker/sql_counter.py +++ b/bricktracker/sql_counter.py @@ -22,6 +22,7 @@ class BrickCounter(object): table: str icon: str count: int + legacy: bool def __init__( self, @@ -44,3 +45,5 @@ class BrickCounter(object): self.name = name self.icon = icon + + self.legacy = '(legacy)' in self.name diff --git a/templates/admin/database.html b/templates/admin/database.html index 36d2b0d..9704365 100644 --- a/templates/admin/database.html +++ b/templates/admin/database.html @@ -22,8 +22,8 @@