Commit 8ea3491e authored by Mat's avatar Mat
Browse files

OffreLegumes, condition twig sur updatedAt

parent 710a3ac4
......@@ -64,8 +64,8 @@
<dt>Créée le:</dt>
<dd class="field-lettre field0">{{ lettre.createdAt.format('d/m/Y H:i') }}</dd>
{% if lettre.updatedAt %}
<dt>Dernière modification:</dt>
<dd class="field-lettre field1">{{ lettre.updatedAt.format('d/m/Y H:i') }}</dd>
<dt>Dernière modification:</dt>
<dd class="field-lettre field1">{{ lettre.updatedAt.format('d/m/Y H:i') }}</dd>
{% endif %}
</dl>
</li>
......
......@@ -76,9 +76,11 @@
<dl>
<dt>Créée le:</dt>
<dd class="field-offre field0">{{ offre.createdAt.format('d/m/Y H:i') }}</dd>
<dt>Dernière modification:</dt>
<dd class="field-offre field1">{{ offre.updatedAt.format('d/m/Y H:i') }}</dd>
</dl>
{% if offre.updatedAt %}
<dt>Dernière modification:</dt>
<dd class="field-offre field1">{{ offre.updatedAt.format('d/m/Y H:i') }}</dd>
</dl>
{% endif %}
</li>
<li class="list-group-item">
<dl>
......
Supports Markdown
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