Commit 1cf68bac authored by okhin's avatar okhin 🚴

Merge branch '32-nouveau-front' into 'preprod'

Fix the recap for the user

See merge request !29
parents 36d455d9 ff7db52d
Pipeline #2103 passed with stages
in 1 minute and 7 seconds
......@@ -131,15 +131,30 @@
<th>{{ _("Récurent") }}</th>
<th>{{ _("Contreparties") }}</th>
</tr>
<!-- FIXME: Modifier la vue pour avoir le bon historique" -->
<repeat group="{{ @dons_recurrents }}" value="{{ @don }}">
<tr>
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ @don.status }}</td>
<td>{{ _("Oui")}}</td>
<td></td>
</tr>
</repeat>
<repeat group="{{ @dons }}" value="{{ @don }}">
<tr>
<td>{{ @don.datec }}</td>
<td>{{ @don.somme }}</td>
<td>{{ _("Non")}}</td>
<td></td>
</tr>
</repeat>
<repeat group="{{ @contreparties }}" value="{{ @contrepartie }}">
<tr>
<td>{{ @contrepartie.datec }}</td>
<td></td>
<td></td>
<td>{{ @contrepartie.quoi }}</td>
</tr>
</repeat>
</table>
</div>
</div>
......@@ -330,8 +345,8 @@
<label for="adresses">{{ _("Envoyer à l'adresse :")}}</label>
<select class="form-control" name="adresse_id">
<repeat group="{{ @adresses }}" value="{{ @adresse }}">
<option value="{{ @adresse.id }}" <check if="{{ @adresse.defaut != 0 }}">selected</check>>{{ @adresse.alias }} - {{ @adresse.adresse }} {{@adresse.adresse2 }}</option>
</repeat>
<option value="{{ @adresse.id }}" <check if="{{ @adresse.defaut != 0 }}">selected</check>>{{ @adresse.alias }} - {{ @adresse.adresse }} {{@adresse.adresse2 }}</option>
</repeat>
</select>
</div>
</div><!-- / Adresse -->
......
......@@ -186,6 +186,11 @@ padding: 0 15px;
}
#perso input[type="checkbox"] + label {
cursor: pointer;
background-color:#2f5188;
margin-bottom: 0;
}
#perso label .panel-title {
font-size:1em;
}
#compte, #adresses, #histo {
display: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment