1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-04 14:52:25 -05:00
wallabag/app/views/view.twig
2014-01-09 20:38:14 +01:00

21 lines
573 B
Twig

{% extends layout %}
{% block content %}
{% if entry is empty %}
<div class="messages warning"><p>{{ 'No link available here!'|trans }}</p></div>
{% else %}
<h2>{{ entry.title }}</h2>
<ul>
<li><a href="{{ path('mark_entry_read', {'id': entry.id}) }}">{{ 'mark as read'|trans }}</a></li>
<li><a href="#">{{ 'star'|trans }}</a></li>
<li><a href="#">{{ 'delete'|trans }}</a></li>
<li><a href="{{ entry.url }}">{{ 'view original'|trans }}</a></li>
</ul>
<article>{{ entry.content|raw }}</article>
{% endif %}
{% endblock %}