1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 13:42:17 -05:00
wallabag/app/views/view.twig
2014-01-09 15:26:53 +01:00

21 lines
533 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="#">{{ '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|striptags }}</article>
{% endif %}
{% endblock %}