diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig | 10 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index 8bc7b54c..426ce91c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig | |||
@@ -47,12 +47,20 @@ | |||
47 | {{ entry.createdAt|date('Y-m-d H:i') }} | 47 | {{ entry.createdAt|date('Y-m-d H:i') }} |
48 | </i> | 48 | </i> |
49 | 49 | ||
50 | {% if entry.publishedAt is not null %} | 50 | {% if entry.publishedAt is not null %} |
51 | <i class="tool icon icon-pencil2" title="{{ 'entry.view.published_at'|trans }}"> | 51 | <i class="tool icon icon-pencil2" title="{{ 'entry.view.published_at'|trans }}"> |
52 | {{ entry.publishedAt|date('Y-m-d H:i') }} | 52 | {{ entry.publishedAt|date('Y-m-d H:i') }} |
53 | </i> | 53 | </i> |
54 | {% endif %} | 54 | {% endif %} |
55 | 55 | ||
56 | {% if entry.publishedBy is not empty %} | ||
57 | <i class="tool icon icon-users" title="{{ 'entry.view.published_by'|trans }}"> | ||
58 | {% for author in entry.publishedBy %} | ||
59 | {{ author }}{% if not loop.last %}, {% endif %} | ||
60 | {% endfor %} | ||
61 | </i> | ||
62 | {% endif %} | ||
63 | |||
56 | <i class="tool icon icon-time"> | 64 | <i class="tool icon icon-time"> |
57 | {% set readingTime = entry.readingTime / app.user.config.readingSpeed %} | 65 | {% set readingTime = entry.readingTime / app.user.config.readingSpeed %} |
58 | {% if readingTime > 0 %} | 66 | {% if readingTime > 0 %} |
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"> |