fix: rename views for "all records" (all assets, all logs etc.)

just for clarity's sake, i think it's better
This commit is contained in:
Lance Edgar 2026-02-28 18:40:35 -06:00
parent d465934818
commit d1817a3611
3 changed files with 9 additions and 9 deletions

View file

@ -49,7 +49,7 @@ def get_asset_type_enum(config):
return asset_types
class AssetView(WuttaFarmMasterView):
class AllAssetView(WuttaFarmMasterView):
"""
Master view for Assets
"""
@ -368,8 +368,8 @@ class AssetMasterView(WuttaFarmMasterView):
def defaults(config, **kwargs):
base = globals()
AssetView = kwargs.get("AssetView", base["AssetView"])
AssetView.defaults(config)
AllAssetView = kwargs.get("AllAssetView", base["AllAssetView"])
AllAssetView.defaults(config)
def includeme(config):

View file

@ -89,7 +89,7 @@ class LogTypeView(WuttaFarmMasterView):
return buttons
class LogView(WuttaFarmMasterView):
class AllLogView(WuttaFarmMasterView):
"""
Master view for All Logs
"""
@ -367,8 +367,8 @@ def defaults(config, **kwargs):
LogTypeView = kwargs.get("LogTypeView", base["LogTypeView"])
LogTypeView.defaults(config)
LogView = kwargs.get("LogView", base["LogView"])
LogView.defaults(config)
AllLogView = kwargs.get("AllLogView", base["AllLogView"])
AllLogView.defaults(config)
def includeme(config):

View file

@ -248,7 +248,7 @@ class QuantityMasterView(WuttaFarmMasterView):
return buttons
class QuantityView(QuantityMasterView):
class AllQuantityView(QuantityMasterView):
"""
Master view for All Quantities
"""
@ -280,8 +280,8 @@ def defaults(config, **kwargs):
QuantityTypeView = kwargs.get("QuantityTypeView", base["QuantityTypeView"])
QuantityTypeView.defaults(config)
QuantityView = kwargs.get("QuantityView", base["QuantityView"])
QuantityView.defaults(config)
AllQuantityView = kwargs.get("AllQuantityView", base["AllQuantityView"])
AllQuantityView.defaults(config)
StandardQuantityView = kwargs.get(
"StandardQuantityView", base["StandardQuantityView"]