diff options
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/_menu.twig | 5 | ||||
-rwxr-xr-x | themes/default/_pocheit-form.twig | 22 | ||||
-rw-r--r-- | themes/default/config.twig | 29 | ||||
-rw-r--r-- | themes/default/css/style.css | 13 | ||||
-rw-r--r-- | themes/default/edit-tags.twig | 15 | ||||
-rw-r--r-- | themes/default/home.twig | 9 | ||||
-rw-r--r-- | themes/default/login.twig | 2 | ||||
-rw-r--r-- | themes/default/tag.twig | 33 | ||||
-rw-r--r-- | themes/default/view.twig | 11 |
9 files changed, 82 insertions, 57 deletions
diff --git a/themes/default/_menu.twig b/themes/default/_menu.twig index 02bec1dc..55583b3d 100644 --- a/themes/default/_menu.twig +++ b/themes/default/_menu.twig | |||
@@ -3,6 +3,9 @@ | |||
3 | <li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li> | 3 | <li><a href="./?view=fav" {% if view == 'fav' %}class="current"{% endif %}>{% trans "favorites" %}</a></li> |
4 | <li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li> | 4 | <li><a href="./?view=archive" {% if view == 'archive' %}class="current"{% endif %}>{% trans "archive" %}</a></li> |
5 | <li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li> | 5 | <li><a href="./?view=tags" {% if view == 'tags' %}class="current"{% endif %}>{% trans "tags" %}</a></li> |
6 | <li><a href="javascript: void(null);" id="pocheit">{% trans "save a link" %}</a><span id="pocheit-arrow"></span></li> | ||
6 | <li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li> | 7 | <li><a href="./?view=config" {% if view == 'config' %}class="current"{% endif %}>{% trans "config" %}</a></li> |
7 | <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> | 8 | <li><a href="./?logout" title="{% trans "logout" %}">{% trans "logout" %}</a></li> |
8 | </ul> \ No newline at end of file | 9 | </ul> |
10 | {% include '_pocheit-form.twig' %} | ||
11 | |||
diff --git a/themes/default/_pocheit-form.twig b/themes/default/_pocheit-form.twig new file mode 100755 index 00000000..13096159 --- /dev/null +++ b/themes/default/_pocheit-form.twig | |||
@@ -0,0 +1,22 @@ | |||
1 | <div id="pocheit-form" class="messages info"> | ||
2 | <center> | ||
3 | <form method="get" action="index.php"> | ||
4 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | ||
5 | <input type="submit" value="{% trans "save link!" %}" /> | ||
6 | </form> | ||
7 | </center> | ||
8 | </div> | ||
9 | <script type="text/javascript"> | ||
10 | $(document).ready(function() { | ||
11 | |||
12 | $("#pocheit-form").hide(); | ||
13 | |||
14 | $("#pocheit").click(function(){ | ||
15 | $("#pocheit-form").toggle(); | ||
16 | $("#pocheit").toggleClass("current"); | ||
17 | $("#pocheit-arrow").toggleClass("arrow-down"); | ||
18 | }); | ||
19 | |||
20 | |||
21 | }); | ||
22 | </script> | ||
diff --git a/themes/default/config.twig b/themes/default/config.twig index df62520a..cd4d074d 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -5,8 +5,8 @@ | |||
5 | {% include '_menu.twig' %} | 5 | {% include '_menu.twig' %} |
6 | {% endblock %} | 6 | {% endblock %} |
7 | {% block content %} | 7 | {% block content %} |
8 | <h2>{% trans "Poching links" %}</h2> | 8 | <h2>{% trans "Saving articles" %}</h2> |
9 | <p>{% trans "There are several ways to poche a link:" %} (<a href="http://doc.wallabag.org/" title="{% trans "read the documentation" %}">?</a>)</p> | 9 | <p>{% trans "There are several ways to save an article:" %} (<a href="http://doc.wallabag.org/" title="{% trans "read the documentation" %}">?</a>)</p> |
10 | <ul> | 10 | <ul> |
11 | <li>Firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li> | 11 | <li>Firefox: <a href="https://addons.mozilla.org/firefox/addon/poche/" title="download the firefox extension">{% trans "download the extension" %}</a></li> |
12 | <li>Chrome: <a href="http://doc.wallabag.org/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li> | 12 | <li>Chrome: <a href="http://doc.wallabag.org/doku.php?id=users:chrome_extension" title="download the chrome extension">{% trans "download the extension" %}</a></li> |
@@ -14,19 +14,19 @@ | |||
14 | <li>Windows Phone: <a href="https://www.windowsphone.com/en-us/store/app/poche/334de2f0-51b5-4826-8549-a3d805a37e83" title="download the window phone application">{% trans "download the application" %}</a></li> | 14 | <li>Windows Phone: <a href="https://www.windowsphone.com/en-us/store/app/poche/334de2f0-51b5-4826-8549-a3d805a37e83" title="download the window phone application">{% trans "download the application" %}</a></li> |
15 | <li> | 15 | <li> |
16 | <form method="get" action="index.php"> | 16 | <form method="get" action="index.php"> |
17 | <label class="addurl" for="plainurl">{% trans "By filling this field" %}:</label> | 17 | <label class="addurl" for="config_plainurl">{% trans "By filling this field" %}:</label> |
18 | <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | 18 | <input required placeholder="example.com/article" class="addurl" id="config_plainurl" name="plainurl" type="url" /> |
19 | <input type="submit" value="{% trans "poche it!" %}" /> | 19 | <input type="submit" value="{% trans "bag it!" %}" /> |
20 | </form> | 20 | </form> |
21 | </li> | 21 | </li> |
22 | <li>{% trans "Bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> | 22 | <li>{% trans "Bookmarklet: drag & drop this link to your bookmarks bar" %} <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "bag it!" %}</a></li> |
23 | </ul> | 23 | </ul> |
24 | 24 | ||
25 | <h2>{% trans "Updating poche" %}</h2> | 25 | <h2>{% trans "Upgrading wallabag" %}</h2> |
26 | <ul> | 26 | <ul> |
27 | <li>{% trans "Installed version" %} : <strong>{{ constant('POCHE') }}</strong></li> | 27 | <li>{% trans "Installed version" %} : <strong>{{ constant('POCHE') }}</strong></li> |
28 | <li>{% trans "Latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li> | 28 | <li>{% trans "Latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent stable version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li> |
29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | 29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "Latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "A more recent development version is available." %}</a></strong>{% else %}{% trans "You are up to date." %}{% endif %}</li>{% endif %} |
30 | </ul> | 30 | </ul> |
31 | 31 | ||
32 | <h2>{% trans "Feeds" %}</h2> | 32 | <h2>{% trans "Feeds" %}</h2> |
@@ -69,7 +69,7 @@ | |||
69 | <label class="col w150p" for="language">{% trans "Language:" %}</label> | 69 | <label class="col w150p" for="language">{% trans "Language:" %}</label> |
70 | <select class="col" id="language" name="language"> | 70 | <select class="col" id="language" name="language"> |
71 | {% for language in languages %} | 71 | {% for language in languages %} |
72 | <option value="{{ language.name }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> | 72 | <option value="{{ language.value }}" {{ language.current ? 'selected' : '' }}>{{ language.name }}</option> |
73 | {% endfor %} | 73 | {% endfor %} |
74 | </select> | 74 | </select> |
75 | </div> | 75 | </div> |
@@ -104,16 +104,19 @@ | |||
104 | 104 | ||
105 | <h2>{% trans "Import" %}</h2> | 105 | <h2>{% trans "Import" %}</h2> |
106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> | 106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> |
107 | <p>{% trans "More info in the official docs:" %} <a href="http://doc.wallabag.org/doku.php?id=users:migrate">wallabag.org</a></p> | 107 | <p>{% trans "More info in the official documentation:" %} <a href="http://doc.wallabag.org/doku.php?id=users:migrate">wallabag.org</a></p> |
108 | <ul> | 108 | <ul> |
109 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> | 109 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> |
110 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> | 110 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> |
111 | <li><a href="./?import&from=instapaper">{% trans "Import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li> | 111 | <li><a href="./?import&from=instapaper">{% trans "Import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li> |
112 | <li><a href="./?import&from=poche">{% trans "Import from poche" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCHE_FILE')) }}</li> | 112 | <li><a href="./?import&from=poche">{% trans "Import from wallabag" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCHE_FILE')) }}</li> |
113 | </ul> | 113 | </ul> |
114 | 114 | ||
115 | <h2>{% trans "Export your poche data" %}</h2> | 115 | <h2>{% trans "Export your wallabag data" %}</h2> |
116 | {% if constant('STORAGE') == 'sqlite' %} | 116 | {% if constant('STORAGE') == 'sqlite' %} |
117 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} | 117 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} |
118 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche data." %}</p> | 118 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> |
119 | |||
120 | <h2>{% trans "Cache" %}</h2> | ||
121 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> | ||
119 | {% endblock %} | 122 | {% endblock %} |
diff --git a/themes/default/css/style.css b/themes/default/css/style.css index 2088ee2e..28675907 100644 --- a/themes/default/css/style.css +++ b/themes/default/css/style.css | |||
@@ -334,3 +334,16 @@ a.bad-display span, | |||
334 | a.reading-time span { | 334 | a.reading-time span { |
335 | background-repeat: no-repeat; | 335 | background-repeat: no-repeat; |
336 | } | 336 | } |
337 | |||
338 | .arrow-down { | ||
339 | width: 0px; | ||
340 | height: 0px; | ||
341 | border-style: solid; | ||
342 | border-width: 10px 10px 0 10px; | ||
343 | border-color: #000 transparent transparent transparent; | ||
344 | |||
345 | position: absolute; | ||
346 | margin-top: 1.5em; | ||
347 | margin-left: -30px; | ||
348 | } | ||
349 | |||
diff --git a/themes/default/edit-tags.twig b/themes/default/edit-tags.twig index 53852d39..83f04aa0 100644 --- a/themes/default/edit-tags.twig +++ b/themes/default/edit-tags.twig | |||
@@ -4,6 +4,13 @@ | |||
4 | {% include '_menu.twig' %} | 4 | {% include '_menu.twig' %} |
5 | {% endblock %} | 5 | {% endblock %} |
6 | {% block content %} | 6 | {% block content %} |
7 | |||
8 | <div id="article"> | ||
9 | <header class="mbm"> | ||
10 | <h1>{{ entry.title|raw }}</h1> | ||
11 | </header> | ||
12 | </div> | ||
13 | |||
7 | {% if tags is empty %} | 14 | {% if tags is empty %} |
8 | no tags | 15 | no tags |
9 | {% endif %} | 16 | {% endif %} |
@@ -11,10 +18,12 @@ no tags | |||
11 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | 18 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} |
12 | </ul> | 19 | </ul> |
13 | <form method="post" action="./?action=add_tag"> | 20 | <form method="post" action="./?action=add_tag"> |
14 | <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
15 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
16 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | 21 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> |
22 | <label for="value">Add tags: </label> | ||
23 | <input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
17 | <input type="submit" value="Tag" /> | 24 | <input type="submit" value="Tag" /> |
25 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
26 | |||
18 | </form> | 27 | </form> |
19 | <a href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | 28 | <a href="./?view=view&id={{ entry_id }}">« {% trans "return to article" %}</a> |
20 | {% endblock %} | 29 | {% endblock %} |
diff --git a/themes/default/home.twig b/themes/default/home.twig index cbe8c62f..165fecc6 100644 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -14,12 +14,16 @@ | |||
14 | {% block precontent %} | 14 | {% block precontent %} |
15 | {% if entries|length > 1 %} | 15 | {% if entries|length > 1 %} |
16 | <ul id="sort"> | 16 | <ul id="sort"> |
17 | <li><a href="./?sort=ia&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> | 17 | <li><a href="./?sort=ia&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by date asc" %}" title="{% trans "by date asc" %}" /></a> {% trans "by date" %} <a href="./?sort=id&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by date desc" %}" title="{% trans "by date desc" %}" /></a></li> |
18 | <li><a href="./?sort=ta&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> | 18 | <li><a href="./?sort=ta&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/top.png" alt="{% trans "by title asc" %}" title="{% trans "by title asc" %}" /></a> {% trans "by title" %} <a href="./?sort=td&view={{ view }}&id={{ id }}"><img src="{{ poche_url }}/themes/{{ theme }}/img/{{ theme }}/down.png" alt="{% trans "by title desc" %}" title="{% trans "by title desc" %}" /></a></li> |
19 | </ul> | 19 | </ul> |
20 | {% endif %} | 20 | {% endif %} |
21 | {% endblock %} | 21 | {% endblock %} |
22 | {% block content %} | 22 | {% block content %} |
23 | {% if tag %} | ||
24 | <h3>{% trans "Tag" %}: <b>{{ tag.value }}</b></h3> | ||
25 | {% endif %} | ||
26 | |||
23 | {% if entries is empty %} | 27 | {% if entries is empty %} |
24 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> | 28 | <div class="messages warning"><p>{% trans "No articles found." %}</p></div> |
25 | {% else %} | 29 | {% else %} |
@@ -46,4 +50,5 @@ | |||
46 | {% endfor %} | 50 | {% endfor %} |
47 | {% endif %} | 51 | {% endif %} |
48 | {{ block('pager') }} | 52 | {{ block('pager') }} |
53 | {% if view == 'home' %}{% if nb_results > 1 %}<a title="{% trans "mark all the entries as read" %}" href="./?action=archive_all">{% trans "mark all the entries as read" %}</a>{% endif %}{% endif %} | ||
49 | {% endblock %} | 54 | {% endblock %} |
diff --git a/themes/default/login.twig b/themes/default/login.twig index bf685240..b9f8b497 100644 --- a/themes/default/login.twig +++ b/themes/default/login.twig | |||
@@ -24,7 +24,7 @@ | |||
24 | </div> | 24 | </div> |
25 | </div> | 25 | </div> |
26 | <div class="row mts txtcenter"> | 26 | <div class="row mts txtcenter"> |
27 | <button class="bouton" type="submit" tabindex="4">{% trans "Login" %}</button> | 27 | <button class="bouton" type="submit" tabindex="4">{% trans "Sign in" %}</button> |
28 | </div> | 28 | </div> |
29 | </fieldset> | 29 | </fieldset> |
30 | <input type="hidden" name="returnurl" value="{{ referer }}"> | 30 | <input type="hidden" name="returnurl" value="{{ referer }}"> |
diff --git a/themes/default/tag.twig b/themes/default/tag.twig deleted file mode 100644 index 364c7cd4..00000000 --- a/themes/default/tag.twig +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}tag {% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | <h3>{% trans "Tag" %} {{ tag.value }}</h3> | ||
8 | {% if entries is empty %} | ||
9 | <div class="messages warning"><p>{% trans "No link available here!" %}</p></div> | ||
10 | {% else %} | ||
11 | {% block pager %} | ||
12 | {% if nb_results > 1 %} | ||
13 | <div class="results"> | ||
14 | <div class="nb-results">{{ nb_results }} {% trans "results" %}</div> | ||
15 | {{ page_links | raw }} | ||
16 | </div> | ||
17 | {% endif %} | ||
18 | {% endblock %} | ||
19 | {% for entry in entries %} | ||
20 | <div id="entry-{{ entry.id|e }}" class="entrie"> | ||
21 | <h2><a href="index.php?view=view&id={{ entry.id|e }}">{{ entry.title|raw }}</a></h2> | ||
22 | <ul class="tools"> | ||
23 | <li><a title="{% trans "toggle mark as read" %}" class="tool {% if entry.is_read == 0 %}archive-off{% else %}archive{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span>{% trans "toggle mark as read" %}</span></a></li> | ||
24 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> | ||
25 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> | ||
26 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> | ||
27 | <li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li> | ||
28 | </ul> | ||
29 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | ||
30 | </div> | ||
31 | {% endfor %} | ||
32 | {% endif %} | ||
33 | {% endblock %} \ No newline at end of file | ||
diff --git a/themes/default/view.twig b/themes/default/view.twig index 9858996f..916abe0d 100644 --- a/themes/default/view.twig +++ b/themes/default/view.twig | |||
@@ -20,12 +20,15 @@ | |||
20 | <header class="mbm"> | 20 | <header class="mbm"> |
21 | <h1>{{ entry.title|raw }}</h1> | 21 | <h1>{{ entry.title|raw }}</h1> |
22 | </header> | 22 | </header> |
23 | <aside class="tags"> | 23 | {% block tags %} |
24 | {% trans "tags:" %} {% for tag in tags %}<a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> {% endfor %}<a href="./?view=edit-tags&id={{ entry.id|e }}" title="{% trans "Edit tags" %}">✎</a> | 24 | <aside class="tags"> |
25 | </aside> | 25 | {% trans "tags:" %} {% for tag in tags %}<a href="./?view=tag&id={{ tag.id }}">{{ tag.value }}</a> {% endfor %}<a href="./?view=edit-tags&id={{ entry.id|e }}" title="{% trans "Edit tags" %}">✎</a> |
26 | </aside> | ||
27 | {% endblock %} | ||
26 | <article> | 28 | <article> |
27 | {{ content | raw }} | 29 | {{ content | raw }} |
28 | </article> | 30 | </article> |
31 | {{ block('tags') }} | ||
29 | </div> | 32 | </div> |
30 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/restoreScroll.js"></script> | 33 | <script src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/js/restoreScroll.js"></script> |
31 | <script type="text/javascript"> | 34 | <script type="text/javascript"> |
@@ -50,5 +53,5 @@ | |||
50 | $('#article_toolbar .tool.top').parent().hide(); | 53 | $('#article_toolbar .tool.top').parent().hide(); |
51 | } | 54 | } |
52 | }); | 55 | }); |
53 | </script> | 56 | </script> |
54 | {% endblock %} | 57 | {% endblock %} |