41 lines
1.8 KiB
HTML
41 lines
1.8 KiB
HTML
<h2>Compte lecteur</h2>
|
||
{% with data=compte_lecteur.data %}
|
||
{% if data.d.ClientAccount.ShortAccount %}
|
||
<p>Votre carte d'abonnement numéro {{ data.d.ClientAccount.Identity.BarCode }} est valable jusqu'au {{ data.d.ClientAccount.Identity.ExpirationDate }}.</p>
|
||
{% if data.d.ClientAccount.ShortAccount.NombrePrets %}
|
||
<p>Vous avez actuellement {{ data.d.ClientAccount.ShortAccount.NombrePrets }}
|
||
œuvre{% if data.d.ClientAccount.ShortAccount.NombrePrets > 1 %}s{% endif %} en prêt :</p>
|
||
<ul>
|
||
{% for loan in data.d.ClientAccount.Loans %}
|
||
<li {% if loan.IsLate %}style="color: red"{% endif %}> {{ loan.DisplayName }} - {{ loan.SearchItemAdapter.Resource.Crtr }} {% if loan.IsLate %}(en retard){% endif %}</li>
|
||
{% endfor %}
|
||
</ul>
|
||
{% else %}
|
||
<p>Vous n'avez actuellement pas d'œuvre en prêt.</p>
|
||
{% endif %}
|
||
|
||
{% if data.d.ClientAccount.ShortAccount.NombreDemandeReservations %}
|
||
<p>
|
||
Vous avec actuellement {{ data.d.ClientAccount.ShortAccount.NombreDemandeReservations }}
|
||
œuvre{% if data.d.ClientAccount.ShortAccount.NombreDemandeReservations > 1 %}s{% endif %} en réservation.
|
||
</p>
|
||
{% endif %}
|
||
|
||
{% if data.d.ClientAccount.ShortAccount.NombreMessages %}
|
||
<p>Vous avez <a href="{{ compte_lecteur_url }}/DEFAULT/my-account.aspx#/Messages">{{ data.d.ClientAccount.ShortAccount.NombreMessages }}
|
||
message{% if data.d.ClientAccount.ShortAccount.NombreMessages > 1 %}s{% endif %}</a>.</p>
|
||
{% else %}
|
||
<p>Vous n'avez pas de message.</p>
|
||
{% endif %}
|
||
|
||
<p><a href="{{ compte_lecteur_url }}/mandaye/sso?next_url=/DEFAULT/my-account.aspx">Cliquez ici</a> pour accéder à votre compte lecteur sur le site des médiathèques.</a></p>
|
||
|
||
{% else %}
|
||
|
||
<p>Vous n'avez actuellement pas de compte médiathèque raccordé ou votre compte n'est plus valide.</p>
|
||
|
||
<p><a href="{{ compte_lecteur_url }}/mandaye/sso">Cliquez ici</a> pour raccorder votre compte médiathèque.</p>
|
||
|
||
{% endif %}
|
||
{% endwith %}
|