Commit 3f3bd3ad authored by Arnaud Bey's avatar Arnaud Bey

fix date & add edit link for inprogress projects

parent df86c69b
......@@ -33,7 +33,7 @@
<div class="col">
<p class="text-muted text-right">
<small>
Dernière mise à jour : {{elan.lastUpdate|date}}
Dernière mise à jour : {{elan.lastUpdate|localizeddate('long', 'none', 'fr')}}
{% if isAdmin %}<a href="{{path('admin_create_elan', {id: elan.id})}}"><i class="fas fa-edit"></i></a>{% endif %}
</small>
</p>
......
<div data-toggle="modal" data-target="#square-{{ square.id }}" class="col-{{ square.width }}">
<div class="card clickable" style="background:rgba({{ square.color|hex2rgb(0.7) }});">
<div class="card-body" style="color:rgba({{ square.textColor|hex2rgb(1) }});">
<h4 class="card-title text-center">{{ square.title }}</h4>
<h4 class="card-title text-center">
{{ square.title }}
{% if square.inThePipeline and isAdmin %}<a href="{{path('admin_create_square', {id:square.id} )}}"><i class="fas fa-edit"></i></a>{% endif %}
</h4>
<p class="card-text text-center">{{ square.subtitle }}</p>
</div>
</div>
......@@ -22,7 +25,7 @@
<div class="col">
<p class="text-muted text-right">
<small>
Dernière mise à jour : {{square.lastUpdate|date}}
Dernière mise à jour : {{square.lastUpdate|localizeddate('long', 'none', 'fr')}}
{% if isAdmin %}<a href="{{path('admin_create_square', {id:square.id} )}}"><i class="fas fa-edit"></i></a>{% endif %}
</small>
</p>
......
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