Skip to content
Snippets Groups Projects
Verified Commit cde7df05 authored by magicfelix's avatar magicfelix
Browse files

Show home and mobile phone numbers

parent 25b6d7f5
Branches 616-docs-document-dashboard-and-dashboard-widgets
No related tags found
1 merge request!913Show home and mobile phone numbers
Pipeline #50369 passed
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment