1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-03 14:22:19 -05:00
wallabag/app/views/view.twig

21 lines
573 B
Twig
Raw Normal View History

2014-01-08 04:57:21 -05:00
{% extends layout %}
{% block content %}
{% if entry is empty %}
<div class="messages warning"><p>{{ 'No link available here!'|trans }}</p></div>
{% else %}
2014-01-09 09:26:53 -05:00
<h2>{{ entry.title }}</h2>
<ul>
<li><a href="{{ path('mark_entry_read', {'id': entry.id}) }}">{{ 'mark as read'|trans }}</a></li>
2014-01-09 09:26:53 -05:00
<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>
2014-01-08 04:57:21 -05:00
2014-01-09 14:30:59 -05:00
<article>{{ entry.content|raw }}</article>
2014-01-08 04:57:21 -05:00
{% endif %}
{% endblock %}