|
@@ -13,6 +13,7 @@
|
|
<th>Titre</th>
|
|
<th>Titre</th>
|
|
<th>Date de publication</th>
|
|
<th>Date de publication</th>
|
|
<th>Etat</th>
|
|
<th>Etat</th>
|
|
|
|
+ <th>Auteur</th>
|
|
<th>Actions</th>
|
|
<th>Actions</th>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
@@ -24,6 +25,7 @@
|
|
<td>{{ article.title }}</td>
|
|
<td>{{ article.title }}</td>
|
|
<td>{{ article.publicationDate ? article.publicationDate|date('Y-m-d H:i:s') : '' }}</td>
|
|
<td>{{ article.publicationDate ? article.publicationDate|date('Y-m-d H:i:s') : '' }}</td>
|
|
<td><span class="badge badge-{{ article.state }}">{{ article.state | trans }}</span></td>
|
|
<td><span class="badge badge-{{ article.state }}">{{ article.state | trans }}</span></td>
|
|
|
|
+ <td>{{ article.author }}</td>
|
|
<td>
|
|
<td>
|
|
{% if is_granted('view', article) %}
|
|
{% if is_granted('view', article) %}
|
|
<a href="{{ path('app_article_show', {'id': article.id}) }}" class="btn btn-blue">Voir</a>
|
|
<a href="{{ path('app_article_show', {'id': article.id}) }}" class="btn btn-blue">Voir</a>
|