summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-25 19:34:31 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-25 19:34:31 +0100
commit3ce59b8686582a514406b1a57574e846ce83a7c1 (patch)
tree17008c96cf1ad554352496dc6ede8eb3eddd493c /templates
parent9946fdce798431f1915783c376056a2fe83d37b0 (diff)
downloadcontact-3ce59b8686582a514406b1a57574e846ce83a7c1.tar.gz
contact-3ce59b8686582a514406b1a57574e846ce83a7c1.tar.bz2
contact-3ce59b8686582a514406b1a57574e846ce83a7c1.zip
Switch display_contact to use liberty's generic list_xref template
Removes dependency on contact-specific list_xref_generic.tpl; xref tabs are now rendered by bitpackage:liberty/list_xref.tpl which is usable across all packages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/display_contact.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/display_contact.tpl b/templates/display_contact.tpl
index 37464e2..5cb4901 100755
--- a/templates/display_contact.tpl
+++ b/templates/display_contact.tpl
@@ -65,6 +65,6 @@
{jstabs}
{section name=type loop=$gContent->mInfo.type}
- {include file="bitpackage:contact/list_xref_generic.tpl" source=$gContent->mInfo.type[type].source source_title=$gContent->mInfo.type[type].title xref_type=$gContent->mInfo.type[type].sort_order}
+ {include file="bitpackage:liberty/list_xref.tpl" source=$gContent->mInfo.type[type].source source_title=$gContent->mInfo.type[type].title xref_type=$gContent->mInfo.type[type].sort_order allow_add=true}
{/section}
{/jstabs}