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:
parent
d465934818
commit
d1817a3611
3 changed files with 9 additions and 9 deletions
|
|
@ -49,7 +49,7 @@ def get_asset_type_enum(config):
|
||||||
return asset_types
|
return asset_types
|
||||||
|
|
||||||
|
|
||||||
class AssetView(WuttaFarmMasterView):
|
class AllAssetView(WuttaFarmMasterView):
|
||||||
"""
|
"""
|
||||||
Master view for Assets
|
Master view for Assets
|
||||||
"""
|
"""
|
||||||
|
|
@ -368,8 +368,8 @@ class AssetMasterView(WuttaFarmMasterView):
|
||||||
def defaults(config, **kwargs):
|
def defaults(config, **kwargs):
|
||||||
base = globals()
|
base = globals()
|
||||||
|
|
||||||
AssetView = kwargs.get("AssetView", base["AssetView"])
|
AllAssetView = kwargs.get("AllAssetView", base["AllAssetView"])
|
||||||
AssetView.defaults(config)
|
AllAssetView.defaults(config)
|
||||||
|
|
||||||
|
|
||||||
def includeme(config):
|
def includeme(config):
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ class LogTypeView(WuttaFarmMasterView):
|
||||||
return buttons
|
return buttons
|
||||||
|
|
||||||
|
|
||||||
class LogView(WuttaFarmMasterView):
|
class AllLogView(WuttaFarmMasterView):
|
||||||
"""
|
"""
|
||||||
Master view for All Logs
|
Master view for All Logs
|
||||||
"""
|
"""
|
||||||
|
|
@ -367,8 +367,8 @@ def defaults(config, **kwargs):
|
||||||
LogTypeView = kwargs.get("LogTypeView", base["LogTypeView"])
|
LogTypeView = kwargs.get("LogTypeView", base["LogTypeView"])
|
||||||
LogTypeView.defaults(config)
|
LogTypeView.defaults(config)
|
||||||
|
|
||||||
LogView = kwargs.get("LogView", base["LogView"])
|
AllLogView = kwargs.get("AllLogView", base["AllLogView"])
|
||||||
LogView.defaults(config)
|
AllLogView.defaults(config)
|
||||||
|
|
||||||
|
|
||||||
def includeme(config):
|
def includeme(config):
|
||||||
|
|
|
||||||
|
|
@ -248,7 +248,7 @@ class QuantityMasterView(WuttaFarmMasterView):
|
||||||
return buttons
|
return buttons
|
||||||
|
|
||||||
|
|
||||||
class QuantityView(QuantityMasterView):
|
class AllQuantityView(QuantityMasterView):
|
||||||
"""
|
"""
|
||||||
Master view for All Quantities
|
Master view for All Quantities
|
||||||
"""
|
"""
|
||||||
|
|
@ -280,8 +280,8 @@ def defaults(config, **kwargs):
|
||||||
QuantityTypeView = kwargs.get("QuantityTypeView", base["QuantityTypeView"])
|
QuantityTypeView = kwargs.get("QuantityTypeView", base["QuantityTypeView"])
|
||||||
QuantityTypeView.defaults(config)
|
QuantityTypeView.defaults(config)
|
||||||
|
|
||||||
QuantityView = kwargs.get("QuantityView", base["QuantityView"])
|
AllQuantityView = kwargs.get("AllQuantityView", base["AllQuantityView"])
|
||||||
QuantityView.defaults(config)
|
AllQuantityView.defaults(config)
|
||||||
|
|
||||||
StandardQuantityView = kwargs.get(
|
StandardQuantityView = kwargs.get(
|
||||||
"StandardQuantityView", base["StandardQuantityView"]
|
"StandardQuantityView", base["StandardQuantityView"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue