diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-06-02 16:34:01 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-06-02 16:34:01 +0100 |
| commit | 56ac2b7d17030c6da742a885401416dc21824ed5 (patch) | |
| tree | 358aecc8a8425a6a0204b2775c160f6c0a70c945 | |
| parent | e88544380267e3539fd28a6cefea844fb75e684a (diff) | |
| download | contact-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>
| -rwxr-xr-x | templates/list.tpl | 8 |
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} {tr}Tasks{/tr}: {$listcontacts[content].tasks|default:0} {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"> |
