summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-06-02 16:34:01 +0100
committerLester Caine <lester@lsces.co.uk>2026-06-02 16:34:01 +0100
commit56ac2b7d17030c6da742a885401416dc21824ed5 (patch)
tree358aecc8a8425a6a0204b2775c160f6c0a70c945 /templates
parente88544380267e3539fd28a6cefea844fb75e684a (diff)
downloadcontact-56ac2b7d17030c6da742a885401416dc21824ed5.tar.gz
contact-56ac2b7d17030c6da742a885401416dc21824ed5.tar.bz2
contact-56ac2b7d17030c6da742a885401416dc21824ed5.zip
list.tpl: fix column mismatch — both rows now 2 columns
Second row had 5 columns (including dead \$item.* references and DOB/NI fields not relevant here). Collapsed to colspan=2 with just refs/tasks/addresses. Dead \$item.display_link and content type cells removed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/list.tpl8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/list.tpl b/templates/list.tpl
index e6cdcc3..63e1704 100755
--- a/templates/list.tpl
+++ b/templates/list.tpl
@@ -40,17 +40,11 @@
{$listcontacts[content].postcode}</td>
</tr>
<tr class="second {$rowclass}">
- <td>{$item.display_link|default:'Not Set'}</td>
- <td>{assign var=content_type_guid value=$item.content_type_guid|default:'bitpage'}{$gLibertySystem->getContentTypeName($content_type_guid|default:'bitpage')}</td>
- <td>
+ <td colspan="2">
{tr}Refs{/tr}: {$listcontacts[content].refs|default:0}&nbsp;&nbsp;
{tr}Tasks{/tr}: {$listcontacts[content].tasks|default:0}&nbsp;&nbsp;
{tr}Addresses{/tr}: {$listcontacts[content].addresses|default:0}
</td>
- {if $gBitUser->hasPermission( 'p_liberty_view_all_status' )}
- <td>{if isset($listcontacts[content].dob) && ($listcontacts[content].dob <> '') }DOB: {$listcontacts[content].dob}{/if}</td>
- <td>{if isset($listcontacts[content].nino) && ($listcontacts[content].nino <> '') }NI: {$listcontacts[content].nino}{/if}</td>
- {/if}
</tr>
{sectionelse}
<tr class="norecords">