File indexing completed on 2025-01-05 04:48:29

0001 <html>
0002 <head>
0003 <style>
0004  .whole_page {
0005    font-family: arial,sans-serif; font-size: 80%;
0006   }
0007   .data {
0008    vertical-align: top; font-size: 80%;
0009   }
0010   .last_data {
0011    vertical-align: top; padding-bottom: 6px; font-size: 80%;
0012   }
0013   .data_header {
0014     vertical-align: top; text-align: right; color: #a5a5a5; padding-right: 8px; font-size: 80%; white-space: nowrap;
0015   }
0016   .name {
0017      border-top: 1px solid #aaaaaa; font-weight: bold; background-color: #e0e0e0; margin-bottom: 4px; padding: 2px;
0018   }
0019   .extra_name {
0020      padding-left: 2px;
0021   }
0022   .last_extra_name {
0023      padding-left: 2px; margin-bottom: 6px;
0024   }
0025 </style>
0026 
0027 </head>
0028 <body>
0029 <div class=whole_page>
0030 {% if contacts %}
0031 {% for contact in contacts %}
0032 <div class=name>{{ contact.name }}</div>
0033 <div class=last_extra_name>{{ contact.realName|safe }}</div>
0034 <table cellpadding=0>
0035   {% if contact.photo %}
0036   <tr>
0037    <td class=data_header>{{ contact.photo|safe }}</td>
0038   </tr>
0039   {% endif %}
0040   {% if contact.emails %}
0041   <tr>
0042    <td class=data_header>{% i18n "Emails" %}</td>
0043    <td class=data>
0044    {% for email in contact.emails %}
0045       {{ email.email }}{% if not forloop.last %}, {% endif %}
0046    {% endfor %}
0047    </td>
0048   </tr>
0049   {% endif %}
0050   {% if contact.organization %}
0051   <tr>
0052    <td class=data_header>{% i18n "Organization" %}</td>
0053    <td class=last_data>{{ contact.organization }}</td>
0054   </tr>
0055   {% endif %}
0056   {% for url in contact.urls %}
0057   <tr>
0058    <td class=data_header>{% i18n "Website" %}</td>
0059    <td class=last_data>{{ url.url }}</td>
0060   </tr>
0061   {% endfor %}
0062   {% if contact.birthday %}
0063   <tr>
0064    <td class=data_header>{% i18n "Birthday" %}</td>
0065    <td class=last_data>{{ contact.formattedBirthday }}</td>
0066   </tr>
0067   {% endif %}
0068   {% if contact.note %}
0069   <tr>
0070    <td class=data_header>{% i18n "Note" %}</td>
0071    <td class=last_data>{{ contact.note }}</td>
0072   </tr>
0073   {% endif %}
0074   {% if contact.title %}
0075   <tr>
0076    <td class=data_header>{% i18n "Title" %}</td>
0077    <td class=last_data>{{ contact.title }}</td>
0078   </tr>
0079   {% endif %}
0080 
0081   {% for address in contact.addresses %}
0082 
0083   {% if address.formattedAddress %}
0084   <tr>
0085    <td class=data_header>{{ address.typeLabel }}</td>
0086    <td class=last_data>
0087     {% with address.formattedAddress as fa %}
0088     {% for line in fa.splitlines %}{{ line }}<br/>{% endfor %}
0089     {% endwith %}
0090    </td>
0091   </tr>
0092   {% endif %}
0093   {% endfor %}
0094 
0095   {% for listphone in contact.phones %}
0096   <tr>
0097    <td class=data_header>{{ listphone.typeLabel }}</td>
0098    <td class=last_data>{{ listphone.number }}</td>
0099   </tr>
0100   {% endfor %}
0101   {% for im in contact.impps %}
0102   <tr>
0103    <td class=data_header>{{ im.serviceLabel }}</td>
0104    <td class=last_data>{{ im.address.path }}</td>
0105   </tr>
0106   {% endfor %}
0107 </table>
0108 <br>
0109 {% endfor %}
0110 {% endif %}
0111 
0112 <html>