{# The numeric type id is what a job call or an ado statement needs, so it
leads the list and stays there even when base_params are missing. #}
{{ t("details.type_id") }}
{{ type_id }}
{% if base %}
{{ t("details.creator") }}
{{ base.creator or "" }}
{{ t("details.created") }}
{{ base.creation_date or "" }}
{{ t("details.modifier") }}
{{ base.modifier or "" }}
{{ t("details.modified") }}
{{ base.modified_date or "" }}
{{ t("details.owner") }}
{{ base.owner or "" }}
{{ t("details.version") }}
{{ base.version or "" }}
{% endif %}
{% if lock %}
{# A button rather than an anchor: the open-statement handler does not
preventDefault, so a link would navigate as well as open the tab. #}
{% set lock_icon = "ph-lock-open" if lock.state == "UNLOCKED" else "ph-lock" %}