diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-04-06 09:36:20 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-04-09 15:24:51 +0200 |
commit | 7b0b3622ab2dd909028481b294c91f88a5682671 (patch) | |
tree | cf9a9b432a8f123b8cf7400e387ba3113e8c8cc4 /src/Wallabag/CoreBundle/Resources/views/themes/material | |
parent | 5e9009ce86a366001616fad5b28cb59dc20ee4df (diff) | |
download | wallabag-7b0b3622ab2dd909028481b294c91f88a5682671.tar.gz wallabag-7b0b3622ab2dd909028481b294c91f88a5682671.tar.zst wallabag-7b0b3622ab2dd909028481b294c91f88a5682671.zip |
Added author of article
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index c72a22c0..8be5fd0d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | |||
@@ -228,12 +228,20 @@ | |||
228 | <i class="material-icons" title="{{ 'entry.view.created_at'|trans }}">today</i> | 228 | <i class="material-icons" title="{{ 'entry.view.created_at'|trans }}">today</i> |
229 | {{ entry.createdAt|date('Y-m-d H:i') }} | 229 | {{ entry.createdAt|date('Y-m-d H:i') }} |
230 | </li> | 230 | </li> |
231 | {% if entry.publishedAt is not null %} | 231 | {% if entry.publishedAt is not null %} |
232 | <li> | 232 | <li> |
233 | <i class="material-icons" title="{{ 'entry.view.published_at'|trans }}">create</i> | 233 | <i class="material-icons" title="{{ 'entry.view.published_at'|trans }}">create</i> |
234 | {{ entry.publishedAt|date('Y-m-d H:i') }} | 234 | {{ entry.publishedAt|date('Y-m-d H:i') }} |
235 | </li> | 235 | </li> |
236 | {% endif %} | 236 | {% endif %} |
237 | {% if entry.publishedBy is not empty %} | ||
238 | <li> | ||
239 | <i class="material-icons" title="{{ 'entry.view.published_by'|trans }}">person</i> | ||
240 | {% for author in entry.publishedBy %} | ||
241 | {{ author }}{% if not loop.last %}, {% endif %} | ||
242 | {% endfor %} | ||
243 | </li> | ||
244 | {% endif %} | ||
237 | <li> | 245 | <li> |
238 | <i class="material-icons link">link</i> | 246 | <i class="material-icons link">link</i> |
239 | <a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|striptags }}" class="tool"> | 247 | <a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|striptags }}" class="tool"> |