Projet

Général

Profil

0003-bouches-du-rhone-remove-br-abuse-and-invalid-p-marku.patch

Frédéric Péters, 26 mars 2019 21:12

Télécharger (3,57 ko)

Voir les différences:

Subject: [PATCH 3/7] bouches-du-rhone: remove <br> abuse and invalid <p>
 markup (#31744)

 static/bouches-du-rhone/_custom.scss             | 16 ++++++++++++++++
 .../combo/json/cd13_dossier_contacts.html        |  2 +-
 .../combo/json/cd13_dossier_demandes.html        |  5 -----
 .../combo/json/cd13_liste_des_dossiers.html      |  2 +-
 4 files changed, 18 insertions(+), 7 deletions(-)
static/bouches-du-rhone/_custom.scss
100 100
		}
101 101
	}
102 102
}
103

  
104
div.cd13_dossier_demandes {
105
	table {
106
		margin-top: 1rem;
107
	}
108
}
109

  
110
div.cd13_dossier_contacts {
111
	h4 {
112
		clear: both;
113
		padding-top: 1rem;
114
	}
115
	h3 + h4 {
116
		padding-top: 0;
117
	}
118
}
templates/variants/bouches-du-rhone/combo/json/cd13_dossier_contacts.html
35 35
  {% endfor %}
36 36
  {% endif %}
37 37
  {% if json.data.dossier.beneficiaire.entourage.aidants %}
38
  <h4 style="clear: both;">Aidants</h4>
38
  <h4>Aidants</h4>
39 39
  {% for aidant in json.data.dossier.beneficiaire.entourage.aidants %}
40 40
  <div class="grid-1-6">
41 41
    {% if aidant.nom %}
templates/variants/bouches-du-rhone/combo/json/cd13_dossier_demandes.html
5 5
{% if  json.data.dossier.demandes %}
6 6
<h3 > Demandes</h3>
7 7
{% if  json.data.dossier.demandes.en_cours %}
8
<br/>
9 8
<table class="pk-data-table pk-table-headers pk-table-borders pk-table-zebra">
10 9
<caption>État de vos demandes en cours d'instruction à ce jour</caption>
11 10
      <tr>
......
23 22
      </tr>
24 23
      {% endfor %}
25 24
    </table>
26
</p>
27 25
{% else %}
28 26
<p>
29 27
Vous n'avez aucune demande en cours d'instruction.
......
31 29
{% endif %}
32 30

  
33 31
{% if  json.data.dossier.demandes.historique %}
34
<br/>
35
<p>
36 32
<table class="pk-data-table pk-table-headers pk-table-borders pk-table-zebra">
37 33
<caption>État de vos demandes traitées</caption>
38 34
      <tr>
......
56 52
      </tr>
57 53
      {% endfor %}
58 54
    </table>
59
</p>
60 55
{% else %}
61 56
<p>
62 57
Vous n'avez aucune traitée mais non encore expédiée.
templates/variants/bouches-du-rhone/combo/json/cd13_liste_des_dossiers.html
4 4

  
5 5
{% if json.data %}
6 6

  
7
<p style="text-align: center;"><br />
7
<p style="text-align: center;">
8 8
{% for dossier in json.data %}
9 9
{% if dossier.dossier %}
10 10
<a class="pk-button" href="./dossier/?dossier={{dossier.id}}">{{dossier.dossier.beneficiaire.nom}} {{dossier.dossier.beneficiaire.prenom}}</a>
11
-