1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

twig implementation

This commit is contained in:
Nicolas Lœuillet 2013-08-04 22:35:08 +02:00
parent c765c3679f
commit 63c35580c7
9 changed files with 111 additions and 100 deletions

View file

@ -1,3 +1,3 @@
<footer class="mr2 mt3 smaller">
<p>powered by <a href="http://inthepoche.com">poche</a></p>
<p>{% trans "powered by" %} <a href="http://inthepoche.com">poche</a></p>
</footer>

View file

@ -40,11 +40,11 @@
<p>{% trans "Please execute the import script locally, it can take a very long time." %}</p>
<p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/?pages/Documentation">inthepoche.com</a></p>
<p><ul>
<li><a href="/?import&from=pocket">{% trans "import from Pocket" %}</a> (you must have a "ril_export.html" file on your server)</li>
<li><a href="/?import&from=readability">{% trans "import from Readability" %}</a> (you must have a "readability" file on your server)</li>
<li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> (you must have a "ril_export.html" file on your server)</li>
<li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> (you must have a "readability" file on your server)</li>
</ul></p>
<h2>{% trans "Export your poche datas" %}</h2>
<p><a href="?view=export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
<p><a href="./?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
</div>
{% endblock %}

View file

@ -1 +1 @@
export {$export}
{{ export }}

View file

@ -23,7 +23,7 @@ function toggle_archive(element, id, view_article) {
}
function sort_links(view, sort) {
$.get('index.php', { view: view, sort: sort, full_head: 'no' }, function(data) {
$.get('index.php', { view: view, sort: sort }, function(data) {
$('#content').html(data);
});
}

View file

@ -16,9 +16,9 @@
<input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if demo == 1 %}value="poche"{% endif %} />
</div>
<div class="row">
<label class="col w150p">{% trans "Stay signed in" %}</label>
<label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label>
<div class="col">
<input type="checkbox" name="longlastingsession" tabindex="3">
<input type="checkbox" id="longlastingsession" name="longlastingsession" tabindex="3">
<small class="inbl">{% trans "(Do not check on public computers)" %}</small>
</div>
</div>