2013-08-04 12:07:41 -04:00
{% extends "layout.twig" %}
2013-08-25 02:49:21 -04:00
{% block title %} {{ entry .title | raw }} ( {{ entry .url | e | getDomain }} ) {% endblock %}
2013-08-04 12:07:41 -04:00
{% block content %}
2013-08-05 15:56:32 -04:00
<div id="article">
2013-04-15 03:38:41 -04:00
<div class="tools">
2013-08-05 15:56:32 -04:00
<ul class="tools">
2013-08-23 12:45:34 -04:00
<li><a href="./" title=" {% trans "back to home" %} " class="tool back"><span> {% trans "back to home" %} </span></a></li>
2013-08-23 16:38:14 -04:00
<li><a title=" {% trans "toggle mark as read" %} " class="tool archive {% if entry .is_read == 0 %} archive-off {% endif %} " href="./?action=toggle_archive&id= {{ entry .id | e }} "><span> {% trans "toggle mark as read" %} </span></a></li>
<li><a title=" {% trans "toggle favorite" %} " class="tool fav {% if entry .is_fav == 0 %} fav-off {% endif %} " href="./?action=toggle_fav&id= {{ entry .id | e }} "><span> {% trans "toggle favorite" %} </span></a></li>
<li><a title=" {% trans "delete" %} " class="tool delete" href="./?action=delete&id= {{ entry .id | e }} "><span> {% trans "delete" %} </span></a></li>
{% if constant ( 'SHARE_TWITTER' ) == 1 %} <li><a href="https://twitter.com/home?status= {{ entry .title | url_encode }} %20 {{ entry .url | url_encode }} %20via%20@getpoche" target="_blank" class="tool twitter" title=" {% trans "tweet" %} "><span> {% trans "tweet" %} </span></a></li> {% endif %}
{% if constant ( 'SHARE_MAIL' ) == 1 %} <li><a href="mailto:?subject= {{ entry .title | url_encode }} &body= {{ entry .url | url_encode }} %20via%20@getpoche" class="tool email" title=" {% trans "email" %} "><span> {% trans "email" %} </span></a></li> {% endif %}
2013-08-23 17:11:34 -04:00
{% if constant ( 'SHARE_SHAARLI' ) == 1 %} <li><a href=" {{ constant ( 'SHAARLI_URL' ) }} /index.php?post= {{ entry .url | url_encode }} &title= {{ entry .title | url_encode }} " target="_blank" class="tool shaarli" title=" {% trans "shaarli" %} "><span> {% trans "shaarli" %} </span></a></li> {% endif %}
2013-09-10 12:23:56 -04:00
{% if constant ( 'FLATTR' ) == 1 %} {% if flattr .status == "flattrable" %} <li><a href="http://flattr.com/submit/auto?url= {{ entry .url }} " class="tool flattr" title="flattr"><span>flattr</span></a></li> {% elseif flattr .status == "flattred" %} <li><a href=" {{ flattr .flattrItemURL }} " class="tool flattr"><span>flattr</span> {{ flattr .numflattrs }} </a></li> {% else %} {% endif %} {% endif %}
2013-04-15 08:09:58 -04:00
</ul>
2013-04-15 03:38:41 -04:00
</div>
<header class="mbm">
2013-08-23 15:06:45 -04:00
<h1> {{ entry .title | raw }} </h1>
2013-08-25 02:43:22 -04:00
<div class="vieworiginal txtright small"><a href=" {{ entry .url | e }} " target="_blank" title=" {% trans "original" %} : {{ entry .title | e }} "> {{ entry .url | e | getDomain }} </a></div>
2013-04-15 03:38:41 -04:00
</header>
<article>
2013-08-05 15:56:32 -04:00
{{ content | raw }}
2013-08-25 02:43:22 -04:00
<div class="vieworiginal txtright small"><a href=" {{ entry .url | e }} " target="_blank" title=" {% trans "original" %} : {{ entry .title | e }} "> {{ entry .url | e | getDomain }} </a></div>
2013-04-15 03:38:41 -04:00
</article>
2013-08-05 15:56:32 -04:00
<div class="tools">
<ul class="tools">
2013-08-23 12:45:34 -04:00
<li><a href="./?" title=" {% trans "back to home" %} " class="tool back"><span> {% trans "back to home" %} </span></a></li>
<li><a href="#top" title=" {% trans "back to top" %} " class="tool top"><span> {% trans "back to top" %} </span></a></li>
2013-08-23 16:38:14 -04:00
<li><a title=" {% trans "toggle mark as read" %} " class="tool archive {% if entry .is_read == 0 %} archive-off {% endif %} " href="./?action=toggle_archive&id= {{ entry .id | e }} "><span> {% trans "toggle mark as read" %} </span></a></li>
<li><a title=" {% trans "toggle favorite" %} " class="tool fav {% if entry .is_fav == 0 %} fav-off {% endif %} " href="./?action=toggle_fav&id= {{ entry .id | e }} "><span> {% trans "toggle favorite" %} </span></a></li>
<li><a title=" {% trans "delete" %} " class="tool delete" href="./?action=delete&id= {{ entry .id | e }} "><span> {% trans "delete" %} </span></a></li>
{% if constant ( 'SHARE_TWITTER' ) == 1 %} <li><a href="https://twitter.com/home?status= {{ entry .title | url_encode }} %20 {{ entry .url | url_encode }} %20via%20@getpoche" target="_blank" class="tool twitter" title=" {% trans "tweet" %} "><span> {% trans "tweet" %} </span></a></li> {% endif %}
{% if constant ( 'SHARE_MAIL' ) == 1 %} <li><a href="mailto:?subject= {{ entry .title | url_encode }} &body= {{ entry .url | url_encode }} %20via%20@getpoche" class="tool email" title=" {% trans "email" %} "><span> {% trans "email" %} </span></a></li> {% endif %}
2013-08-23 17:11:34 -04:00
{% if constant ( 'SHARE_SHAARLI' ) == 1 %} <li><a href=" {{ constant ( 'SHAARLI_URL' ) }} /index.php?post= {{ entry .url | url_encode }} &title= {{ entry .title | url_encode }} " target="_blank" class="tool shaarli" title=" {% trans "shaarli" %} "><span> {% trans "shaarli" %} </span></a></li> {% endif %}
2013-09-10 12:23:56 -04:00
{% if constant ( 'FLATTR' ) == 1 %} {% if flattr .status == "flattrable" %} <li><a href="http://flattr.com/submit/auto?url= {{ entry .url }} " class="tool flattr" title="flattr"><span>flattr</span></a></li> {% elseif flattr .status == "flattred" %} <li><a href=" {{ flattr .flattrItemURL }} " class="tool flattr"><span>flattr</span> {{ flattr .numflattrs }} </a></li> {% else %} {% endif %} {% endif %}
2013-08-05 15:56:32 -04:00
</ul>
2013-08-23 16:38:14 -04:00
<p> {% 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?subject=Wrong%20display%20in%20poche&body= {{ entry .url | url_encode }} "> {% trans "contact us by mail" %} </a></p>
2013-07-31 13:21:49 -04:00
</div>
2013-08-04 12:07:41 -04:00
</div>
{% endblock %}