display user address and phone number provided by France Connect (#15322)

This commit is contained in:
Serghei Mihai 2017-09-11 09:49:55 +02:00
parent f51dd23939
commit dd183bd1d1
1 changed files with 12 additions and 0 deletions

View File

@ -127,6 +127,18 @@
</li>
{% endif %}
{% endfor %}
{% if user.fc_accounts.all.0.get_user_info.address %}
<li>
<span class="field-label">ADRESSE FOURNIE PAR FRANCECONNECT</span>
<span class="field-value">{% firstof user.fc_accounts.all.0.get_user_info.address.formatted user.fc_accounts.all.0.get_user_info.address %}</span>
</li>
{% endif %}
{% if user.fc_accounts.all.0.get_user_info.phone_number %}
<li>
<span class="field-label">TÉLÉPHONE FOURNI PAR FRANCECONNECT</span>
<span class="field-value">{{ user.fc_accounts.all.0.get_user_info.phone_number }}</span>
</li>
{% endif %}
</ul>
<div class="edit center">
<a href="{% url 'cut-edit-crown' %}" class="button">Compléter mes données</a>