Improved reporting on failed href building.

This commit is contained in:
Yaro Kasear 2025-09-11 08:48:28 -05:00
parent de5e5b4a43
commit eef7428c2f
2 changed files with 5 additions and 5 deletions

View file

@ -30,9 +30,9 @@ def init_index_routes(app):
columns = [
{"field": "start_time", "label": "Start", "format": "date"},
{"field": "contact.last_name", "label": "Contact",
"link": {"endpoint": "contact.entry", "params": {"id": "{contact.id}"}}},
"link": {"endpoint": "user.get_item", "params": {"id": "{contact.id}"}}},
{"field": "work_item.name", "label": "Work Item",
"link": {"endpoint": "work_item.entry", "params": {"id": "{work_item.id}"}}},
"link": {"endpoint": "inventory.get_item", "params": {"id": "{work_item.id}"}}},
{"field": "complete", "label": "Status",
"format": "yesno", "classes": {"true":"badge bg-success","false":"badge bg-warning","none":"text-muted"}},
]