]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig
Added author of article
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / entry.html.twig
index c72a22c0b3fffb217fd97e246169cfb91eb0d5ac..8be5fd0db3c0b28c9a13cf6248e46c1d49dd3d45 100644 (file)
                     <i class="material-icons" title="{{ 'entry.view.created_at'|trans }}">today</i>
                     {{ entry.createdAt|date('Y-m-d H:i') }}
                 </li>
-                {%  if entry.publishedAt is not null %}
+                {% if entry.publishedAt is not null %}
                 <li>
                     <i class="material-icons" title="{{ 'entry.view.published_at'|trans }}">create</i>
                     {{ entry.publishedAt|date('Y-m-d H:i') }}
                 </li>
                 {% endif %}
+                {% if entry.publishedBy is not empty %}
+                    <li>
+                        <i class="material-icons" title="{{ 'entry.view.published_by'|trans }}">person</i>
+                        {% for author in entry.publishedBy %}
+                            {{ author }}{% if not loop.last %}, {% endif %}
+                        {% endfor %}
+                    </li>
+                {% endif %}
                 <li>
                     <i class="material-icons link">link</i>
                     <a href="{{ entry.url|e }}" target="_blank" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|striptags }}" class="tool">