11 lines
300 B
Python
11 lines
300 B
Python
|
|
"""Legal info tab: read-only inventory (legal links)."""
|
||
|
|
from hatch_menu import dialog
|
||
|
|
|
||
|
|
TAB = "Legal info"
|
||
|
|
|
||
|
|
|
||
|
|
def describe(ws):
|
||
|
|
"""Row inventory + text excerpt (describe-only for now)."""
|
||
|
|
return {"rows": dialog.describe_rows(ws, TAB),
|
||
|
|
"text": (dialog.dialog_text(ws) or "")[:400]}
|