ajout champ disciplinaire, modif ordre champs de recherche
[auf_beco.git] / project / scholarships / templates / scholarships / scholarship_detail.html
1 {% extends "base.html" %}
2 {% load i18n %}
3
4 {% block main %}
5
6 <h1>{% trans 'Soutien individuel' %}: {{ object }}</h1>
7 {% include 'scholarships/scholarship_menu.html' %}
8
9 <ul class = "data-list">
10 <li><strong>{% trans 'Bénéficiaire' %}</strong>: <a href = "{% url people:person_details object_id=object.beneficiary.id %}">{{ object.beneficiary }}</a></li>
11 <li><strong>{% trans 'Type' %}</strong>: {{ object.scholarship_type }}</li>
12 {% if object.chmap_disciplinaire %}<li><strong>{% trans 'Champ Disciplinaire' %}</strong>: {{ object.chmap_disciplinaire }}</li>{% endif %}
13 </ul>
14
15 <h2>{% trans 'Information origine' %}</h2>
16 <ul class = 'data-list'>
17 <li><strong>{% trans 'Bureau AUF' %}</strong>: {{ object.sender_office }}</li>
18 <li><strong>{% trans 'Université' %}</strong>: <a href = "{% url institutions:member_details object_id=object.sender_institution.id %}">{{ object.sender_institution }}</a></li>
19 {% if object.sender_department %}<li><strong>{% trans 'Département' %}</strong>: {{ object.sender_department }}</li>{% endif %}
20 {% if object.sender_responsable %}<li><strong>{% trans 'Responsable scientifique origine' %}</strong>: <a href = "{% url people:person_details object_id=object.sender_responsable.id %}">{{ object.sender_responsable }}</a></li>{% endif %}
21 {% if object.sender_supervisor %}<li><strong>{% trans 'Directeur de thèse origine' %}</strong>: <a href = "{% url people:person_details object_id=object.sender_supervisor.id %}">{{ object.sender_supervisor }}</a></li>{% endif %}
22 </ul>
23
24 <h2>{% trans 'Information accueil' %}</h2>
25 <ul class = 'data-list'>
26 <li><strong>{% trans 'Bureau AUF' %}</strong>: {{ object.receiver_office }}</li>
27 {% if object.receiver_institution %}<li><strong>{% trans 'Université' %}</strong>: <a href = "{% url institutions:member_details object_id=object.receiver_institution.id %}">{{ object.receiver_institution }}</a></li>{% endif %}
28 {% if object.receiver_department %}<li><strong>{% trans 'Département' %}</strong>: {{ object.receiver_department }}</li>{% endif %}
29 {% if object.receiver_responsable %}<li><strong>{% trans 'Responsable scientifique accueil' %}</strong>: <a href = "{% url people:person_details object_id=object.receiver_responsable.id %}">{{ object.receiver_responsable }}</a></li>{% endif %}
30 {% if object.receiver_supervisor %}<li><strong>{% trans 'Directeur de thèse accueil' %}</strong>: <a href = "{% url people:person_details object_id=object.receiver_supervisor.id %}">{{ object.receiver_supervisor }}</a></li>{% endif %}
31 </ul>
32
33 <h2>{% trans 'Dates' %}</h2>
34 <ul class = 'data-list'>
35 {% if object.date_start %}<li><strong>{% trans 'Date de début' %}</strong>: {{ object.date_start }}</li>{% endif %}
36 {% if object.date_fin %}<li><strong>{% trans 'Date de fin' %}</strong>: {{ object.date_fin }}</li>{% endif %}
37 <li><strong>{% trans 'Durée' %}</strong>: {{ object.duration_count }} {{ object.get_duration_type_display }}</li>
38 <li><strong>{% trans "Année d'acceptation" %}</strong>: {{ object.year_accepted }}</li>
39 </ul>
40
41 <h2>{% trans 'Détails financiers' %}</h2>
42 <ul class = 'data-list'>
43 <li><strong>{% trans 'Montant financé' %}</strong>: {{ object.supported_amount }} EUR</li>
44 {% if object.supported_duration_count %}
45 <li><strong>{% trans 'Durée financée' %}</strong>: {{ object.supported_duration_count }} {{ object.supported_duration_type }}</li>
46 {% endif %}
47 {% if object.supported_country %}<li><strong>{% trans 'Pays financé' %}</strong>: {{ object.supported_country }}</li>{% endif %}
48 </ul>
49
50 <h2>{% trans 'Information scolaire' %}</h2>
51 <ul class = 'data-list'>
52 {% if object.thesis %}<li><strong>{% trans 'Thèse' %}</strong>: {{ object.thesis }}</li>{% endif %}
53 {% if object.title %}<li><strong>{% trans 'Titre' %}</strong>: {{ object.title }}</li>{% endif %}
54 <li><strong>{% trans 'Disciplines' %}</strong>:
55 <ul class = 'data-list'>
56 {% for discipline in object.disciplines.all %}
57 <li>{{ discipline }}</li>
58 {% endfor %}
59 </ul>
60 </li>
61 </ul>
62
63 {% endblock %}