<!-- $Id: empr_rgaa.tpl.html,v 1.1.2.3 2026/07/22 08:46:23 dgoron Exp $ -->
<div id='fiche-empr'>
    <h1>{{ msg.onglet_empr_compte }}</h1>
    <h2><span>{{ empr.prenom }} {{ empr.nom }}</span></h2>
    <div id='fiche-empr-container'>
        <ul class='fiche-lecteur'>
            {% if empr.cb %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_cb'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_tpl_cb }}</span></div>
                        <div class='empr_content'>{{ empr.cb }}</div>
                    </div>
                </li>
            {% endif %}
            {% if empr.formated_address %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_adr'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_adresse }}</span></div>
                        <div class='empr_content'>{{ empr.formated_address }}</div>
                    </div>
                </li>
            {% endif %}
            {% if empr.formated_tel %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_tel'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_tel_titre }}</span></div>
                        <div class='empr_content'>{{ empr.formated_tel }}</div>
                    </div>
                </li>
            {% endif %}
            {% if empr.mail %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_mail'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_mail }}</span></div>
                        <div class='empr_content'><a href='mailto:{{ empr.mail }}'>{{ empr.mail | replace ";" "<br>" }}</a></div>
                    </div>
                </li>
            {% endif %}
            <li>
                <div class='row d-flex flex-wrap empr_info tab_empr_info_mail_tracking_open'>
                    <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_mail_tracking_open }}</span></div>
                    <div class='empr_content'>{% if empr.mail_tracking_open %}{{ msg.40 }}{% else %}{{ msg.39 }}{% endif %}</div>
                </div>
            </li>
            <li>
                <div class='row d-flex flex-wrap empr_info tab_empr_info_mail_tracking_click'>
                    <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_mail_tracking_click }}</span></div>
                    <div class='empr_content'>{% if empr.mail_tracking_click %}{{ msg.40 }}{% else %}{{ msg.39 }}{% endif %}</div>
                </div>
            </li>
            {% if empr.prof %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_prof'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_tpl_prof }}</span></div>
                        <div class='empr_content'>{{ empr.prof }}</div>
                    </div>
                </li>
            {% endif %}
            {% if empr.year %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_year'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_tpl_year }}</span></div>
                        <div class='empr_content'>{{ empr.year }}</div>
                    </div>
                </li>
            {% endif %}
            {% for pperso in empr.pperso.FIELDS %}
                {% if pperso.OPAC_SHOW == "1" and pperso.AFF %}
                    <li>
                        <div class='row d-flex flex-wrap empr_info tab_empr_info_{{ pperso.NAME }}'>
                            <div class='empr_label'><span class='etiq_champ'>{{ pperso.TITRE_CLEAN }}</span></div>
                            <div class='empr_content'>{{ pperso.AFF }}</div>
                        </div>
                    </li>
                {% endif %}
            {% endfor %}
            {% if empr.formated_adhesion_expiration_dates %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_adh'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_tpl_adh }}</span></div>
                        <div class='empr_content'>{{ empr.formated_adhesion_expiration_dates }}</div>
                    </div>
                </li>
            {% endif %}
            {% if empr.formated_date_fin_blocage %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_info_blocage'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_tpl_date_fin_blocage }}</span></div>
                        <div class='empr_content'>{{ empr.formated_date_fin_blocage }}</div>
                    </div>
                </li>
            {% endif %}
            {% if empr.groups_comments | length %}
                <li>
                    <div class='row d-flex flex-wrap empr_info tab_empr_groups_comments'>
                        <div class='empr_label'><span class='etiq_champ'>{{ msg.empr_groups_comments }}</span></div>
                        <div class='empr_content'>
                            {% for comment in empr.groups_comments %}
                                {{ comment }}<br />
                            {% endfor %}
                        </div>
                    </div>
                </li>
            {% endif %}
            {% for additionnal_information in additionnal_informations %}
                <li>
                    <div class='row d-flex flex-wrap empr_info {{ additionnal_information.class }}'>
                        <div class='empr_label'><span class='etiq_champ'>{{ additionnal_information.titre }}</span></div>
                        <div class='empr_content'>{{ additionnal_information.val }}</div>
                    </div>
                </li>
            {% endfor %}
        </ul>
    </div>
    {{ account_item }}
</div>