]> git.immae.eu Git - github/wallabag/wallabag.git/blob - tpl/view.twig
#100: welcome to you, instapaper users
[github/wallabag/wallabag.git] / tpl / view.twig
1 {% extends "layout.twig" %}
2 {% block title %}{% trans "home" %}{% endblock %}
3
4 {% block content %}
5 <div id="article" class="w600p">
6 <div class="backhome">
7 <a href="./" title="{% trans "back to home" %}">&larr;</a>
8 </div>
9 <div class="tools">
10 <ul>
11 {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title}}%20{{ entry.url|e }}%20via%20@getpoche" target="_blank" class="tool twitter"><span></span></a></li>{% endif %}
12 <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>
13 <li><a href="#" id="themeswitch">{% trans "dark" %}</a></li>
14 <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>
15 <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>
16 <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li>
17 </ul>
18 </div>
19 <header class="mbm">
20 <h1><a href="{{ entry.url|e }}">{{ entry.title|e }}</a></h1>
21 <div class="vieworiginal txtright small"><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{% trans "view original" %}</a></div>
22 </header>
23 <article>
24 <div id="readityourselfcontent">
25 {{ content | raw }}
26 </div>
27 </article>
28 <div class="vieworiginal txtright small"><a href="{$url}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}">{% trans "view original" %}</a></div>
29 <div class="backhome">
30 <a href="./" title="{% trans "back to home" %}">&larr;</a>
31 <a href="#" title="{% trans "back to top" %}">&uarr;</a>
32 </div>
33 <div class="support">
34 {% 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>
35 </div>
36 </div>
37 {% endblock %}
38
39 {% block js %}
40 <script type="text/javascript" src="./tpl/js/jquery-1.9.1.min.js"></script>
41 <script type="text/javascript" src="./tpl/js/poche.js"></script>
42 {% endblock %}