Skip to content
Snippets Groups Projects

Show home and mobile phone numbers

All threads resolved!
1 file
+ 6
4
Compare changes
  • Side-by-side
  • Inline
@@ -164,20 +164,22 @@
<i class="material-icons small">phone</i>
</td>
<td>
{% if person.mobile_number %}
<a href="{{ person.mobile_number.as_rfc3966 }}">{{ person.mobile_number.as_international }}</a>
{% if person.phone_number %}
<a href="{{ person.phone_number.as_rfc3966 }}">{{ person.phone_number.as_international }}</a>
{% else %}
{% endif %}
<small>({% trans "mobile number" %})</small>
<small>({% trans "Home phone" %})</small>
</td>
</tr>
<tr>
<td>
{% if person.mobile_number %}
<a href="{{ person.mobile_number.as_rfc3966 }}">{{ person.mobile_number.as_international }}</a>
<small>({% trans "mobile number" %})</small>
{% else %}
{% endif %}
<small>({% trans "Mobile phone" %})</small>
</td>
</tr>
<tr>
Loading