]> git.immae.eu Git - github/wallabag/wallabag.git/blame - tpl/view.twig
view of an article
[github/wallabag/wallabag.git] / tpl / view.twig
CommitLineData
3ba5f81b
NL
1{% extends "layout.twig" %}
2{% block title %}{% trans "home" %}{% endblock %}
3
4{% block content %}
2a1791a4 5 <div id="article" class="w600p">
8046748b 6 <div class="backhome">
3ba5f81b 7 <a href="./" title="{% trans "back to home" %}">&larr;</a>
8046748b 8 </div>
9 <div class="tools">
cf3180f6 10 <ul>
3ba5f81b
NL
11 <li><a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" onclick="toggle_archive(this, {{ entry.id|e }})"><span></span></a></li>
12 <li><a href="#" id="themeswitch">{% trans "dark" %}</a></li>
13 <li><a title="{% trans "toggle favorite" %}" class="tool fav {% if entry.is_fav == 0 %}fav-off{% endif %}" onclick="toggle_favorite(this, {{ entry.id|e }})"><span></span></a></li>
14 <li><form method="post" style="display: inline;" action="index.php"><input type="hidden" name="token" id="token" value="{{ token }}" /><input type="hidden" id="view" name="view" value="index" /><input type="hidden" id="action" name="action" value="delete" /><input type="hidden" id="id" name="id" value="{{ entry.id|e }}" /><input type="submit" class="delete" title="{% trans "toggle delete" %}" /></form></li>
15 <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li>
cf3180f6 16 </ul>
8046748b 17 </div>
18 <header class="mbm">
3ba5f81b
NL
19 <h1><a href="{{ entry.url|e }}">{{ entry.title|e }}</a></h1>
20 <div class="vieworiginal txtright small"><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{% trans "view original" %}</a></div>
8046748b 21 </header>
22 <article>
23 <div id="readityourselfcontent">
2a1791a4 24 {{ content | raw }}
8046748b 25 </div>
26 </article>
3ba5f81b 27 <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{% trans "view original" %}</a></div>
8046748b 28 <div class="backhome">
3ba5f81b
NL
29 <a href="./" title="{% trans "back to home" %}">&larr;</a>
30 <a href="#" title="{% trans "back to top" %}">&uarr;</a>
8046748b 31 </div>
70b5d24f 32 <div class="support">
3ba5f81b 33 {% trans "this article appears wrong?" %} <a href="https://github.com/inthepoche/poche/issues/new">{% trans "create an issue" %}</a> {% trans "or" %} <a href="mailto:support@inthepoche.com">{% trans "contact us by mail" %}</a>
70b5d24f 34 </div>
3ba5f81b
NL
35 </div>
36{% endblock %}
e4d2565e 37
3ba5f81b
NL
38{% block js %}
39 <script type="text/javascript" src="./tpl/js/jquery-1.9.1.min.js"></script>
40 <script type="text/javascript" src="./tpl/js/poche.js"></script>
41{% endblock %}