Commit df51fc98 authored by Mat's avatar Mat

hop

parent 2070cfe4
......@@ -49,14 +49,25 @@
<th scope="col" colspan="2" class="text-right pr-3 py-3">
{% if commande.status == 'editing' %}
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<a class="btn btn-sm btn-outline-primary" title="Éditer" href="#"><i class="fas fa-pencil-alt fa-fw"></i></a>
<a class="btn btn-sm btn-primary" title="Éditer" href="#"><i class="fas fa-pencil-alt fa-fw"></i></a>
<a class="btn btn-sm btn-outline-primary" title="Supprimer" href="#"><i class="fas fa-trash-alt fa-fw"></i></a>
</div>
{% else %}
<i class="fas fa-lock"></i>
<i class="fas fa-lock"></i>
{% endif %}
</th>
</tr>
{% if commande.commentaire %}
<tr scope="col" >
<th class="px-3" colspan="6">
<p class="commentaire">
<i class="far fa-comment-alt fa-fw" title="{{ commande.user.utilisateur.prenom }} dit:"></i>
{{ commande.commentaire }}
</p>
</th>
</tr>
{% endif %}
</thead>
<tbody>
{% for legume in commande.commandeLegumes %}
......@@ -71,16 +82,6 @@
{% endfor %}
</tbody>
<tfooter>
{% if commande.commentaire %}
<tr>
<td class="px-3" colspan="6">
<p class="commentaire">
<i class="far fa-comment-alt fa-fw"></i>
{{ commande.commentaire }}
</p>
</td>
</tr>
{% endif %}
<tr class="table-active">
<td class="pl-3" colspan="3">
<small>
......
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