diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-31 19:45:49 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-31 19:45:49 +0100 |
| commit | f2a6a2bf7e4c574098e28ad81eabbc2b56425d72 (patch) | |
| tree | 2f04d442715c71ee90642f6a78a89cbc627c2c87 | |
| parent | 25e4d9f7b6d0c3a65c38ce0e8e0730832f00af02 (diff) | |
| download | liberty-f2a6a2bf7e4c574098e28ad81eabbc2b56425d72.tar.gz liberty-f2a6a2bf7e4c574098e28ad81eabbc2b56425d72.tar.bz2 liberty-f2a6a2bf7e4c574098e28ad81eabbc2b56425d72.zip | |
list_xref.tpl: gate date and edit column headers on xrefAllowEdit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| -rw-r--r-- | templates/list_xref.tpl | 14 |
1 files 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 @@ <th>{tr}Link{/tr}</th> <th>{tr}Key{/tr}</th> <th>{tr}Value{/tr}</th> - {if $source ne 'history'} - <th>{tr}Started{/tr}</th> - {else} - <th>{tr}Ended{/tr}</th> + {if $xrefAllowEdit} + {if $source ne 'history'} + <th>{tr}Started{/tr}</th> + {else} + <th>{tr}Ended{/tr}</th> + {/if} + <th>{tr}Updated{/tr}</th> + <th>{tr}Edit{/tr}</th> {/if} - <th>{tr}Updated{/tr}</th> - {if $xrefAllowEdit}<th>{tr}Edit{/tr}</th>{/if} </tr> </thead> <tbody> |
