From f2a6a2bf7e4c574098e28ad81eabbc2b56425d72 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Sun, 31 May 2026 19:45:49 +0100 Subject: list_xref.tpl: gate date and edit column headers on xrefAllowEdit Co-Authored-By: Claude Sonnet 4.6 --- templates/list_xref.tpl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/list_xref.tpl b/templates/list_xref.tpl index 70183ce..55b3d0a 100644 --- a/templates/list_xref.tpl +++ b/templates/list_xref.tpl @@ -10,13 +10,15 @@ {tr}Link{/tr} {tr}Key{/tr} {tr}Value{/tr} - {if $source ne 'history'} - {tr}Started{/tr} - {else} - {tr}Ended{/tr} + {if $xrefAllowEdit} + {if $source ne 'history'} + {tr}Started{/tr} + {else} + {tr}Ended{/tr} + {/if} + {tr}Updated{/tr} + {tr}Edit{/tr} {/if} - {tr}Updated{/tr} - {if $xrefAllowEdit}{tr}Edit{/tr}{/if} -- cgit v1.3