diff options
| author | "Lester Caine ext:(%22) <lester@lsces.co.uk> | 2010-11-03 09:46:53 +0000 |
|---|---|---|
| committer | "Lester Caine ext:(%22) <lester@lsces.co.uk> | 2010-11-03 09:46:53 +0000 |
| commit | 3261da3afcc151ebc1ddd77b1055d5bde3c70b7f (patch) | |
| tree | a582efa13411b27c7a3a041a38d8afe6d42d26ff /templates/list.tpl | |
| download | contact-3261da3afcc151ebc1ddd77b1055d5bde3c70b7f.tar.gz contact-3261da3afcc151ebc1ddd77b1055d5bde3c70b7f.tar.bz2 contact-3261da3afcc151ebc1ddd77b1055d5bde3c70b7f.zip | |
Import package again after stripping private data which should not have been commited
Diffstat (limited to 'templates/list.tpl')
| -rw-r--r-- | templates/list.tpl | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/templates/list.tpl b/templates/list.tpl new file mode 100644 index 0000000..f6f199a --- /dev/null +++ b/templates/list.tpl @@ -0,0 +1,78 @@ +{strip} + +<div class="floaticon">{bithelp}</div> + +<div class="listing contacts"> + <div class="header"> + <h1>{tr}Contacts{/tr}</h1> + </div> + + <div class="body"> + + {include file="bitpackage:contact/display_list_header.tpl"} + + <div class="navbar"> + <ul> + <li>{biticon ipackage="icons" iname="emblem-symbolic-link" iexplain="sort by"}</li> + <li>{smartlink ititle="Contract" isort="xkey" ihash=$listInfo.ihash}</li> + {* <li>{smartlink ititle="Forename" isort="forename" ihash=$listInfo.ihash}</li> + <li>{smartlink ititle="Surname" isort="surname" ihash=$listInfo.ihash}</li> *} + <li>{smartlink ititle="Title" isort="title" idefault=1 iorder=desc ihash=$listInfo.ihash}</li> + {* <li>{smartlink ititle="Address" isort="street" ihash=$listInfo.ihash}</li> + <li>{smartlink ititle="Town" isort="town" ihash=$listInfo.ihash}</li> *} + <li>{smartlink ititle="Location" isort="location" ihash=$listInfo.ihash}</li> + <li>{smartlink ititle="Postcode" isort="postcode" ihash=$listInfo.ihash}</li> + </ul> + </div> + + <ul class="clear data"> + {section name=content loop=$listcontacts} + <li class="item {cycle values='odd,even'}"> + <a href="display_contact.php?content_id={$listcontacts[content].content_id}" title="ci_{$listcontacts[content].content_id}"> + {$listcontacts[content].xkey} - + {$listcontacts[content].title} + </a> + {if isset($listcontacts[content].organisation) && ($listcontacts[content].organisation <> '') }Company: {$listcontacts[content].organisation} {/if} + {if isset($listcontacts[content].dob) && ($listcontacts[content].dob <> '') }DOB: {$listcontacts[content].dob} {/if} + {if isset($listcontacts[content].nino) && ($listcontacts[content].nino <> '') }NI: {$listcontacts[content].nino} {/if} + {if $gBitSystem->isFeatureActive( 'contact_list_last_modified' ) }Edited: {$listcontacts[content].last_modified|bit_short_date} {/if} + + <div class="footer"> + {if isset($listcontacts[content].uprn) && ($listcontacts[content].uprn <> '') }UPRN: {$listcontacts[content].uprn} {/if} + {if isset($listcontacts[content].postcode) && ($listcontacts[content].postcode <> '') } + {tr}Address{/tr} - + {if isset($listcontacts[content].sao) && ($listcontacts[content].sao <> '') } + {$listcontacts[content].sao}, {/if} + {if isset($listcontacts[content].pao) && ($listcontacts[content].pao <> '') } + {$listcontacts[content].pao}, {/if} + {if isset($listcontacts[content].number) && ($listcontacts[content].number <> '') } + {$listcontacts[content].number}, {/if} + {if isset($listcontacts[content].street) && ($listcontacts[content].street <> '') } + {$listcontacts[content].street}, {/if} + {if isset($listcontacts[content].locality) && ($listcontacts[content].locality <> '') } + {$listcontacts[content].locality}, {/if} + {if isset($listcontacts[content].town) && ($listcontacts[content].town <> '') } + {$listcontacts[content].town}, {/if} + {if isset($listcontacts[content].county) && ($listcontacts[content].county <> '') } + {$listcontacts[content].county}, {/if} + {$listcontacts[content].postcode} + {/if} + <br /> + {tr}Refs{/tr}: {$listcontacts[content].refs|default:0} + {tr}Tasks{/tr}: {$listcontacts[content].tasks|default:0} + {tr}Addresses{/tr}: {$listcontacts[content].addresses|default:0} + </div> + <div class="clear"></div> + </li> + {sectionelse} + <li class="item norecords"> + {tr}No records found{/tr} + </li> + {/section} + </ul> + + {pagination} + </div><!-- end .body --> +</div><!-- end .irlist --> + +{/strip} |
