]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
added toolbar at the bottom too, let's give it a try
authorThomas Citharel <tcit@tcit.fr>
Sat, 7 Mar 2015 23:15:10 +0000 (00:15 +0100)
committerThomas Citharel <tcit@tcit.fr>
Sat, 7 Mar 2015 23:15:10 +0000 (00:15 +0100)
themes/baggy/view.twig

index a6da85d508b017635c395c95b0bcd98a385c1731..12024cdc066b7e262156ba283a4a030500943d1b 100755 (executable)
@@ -5,6 +5,7 @@
 {% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %}
 {% block content %}
                                {% include '_highlight.twig' %}
+        {% block toolbar %}
         <div id="article_toolbar">
             <ul class="links">
                 <li class="topPosF"><a href="#top" title="{% trans "Back to top" %}" class="tool top icon icon-arrow-up-thick"><span>{% trans "Back to top" %}</span></a></li>
@@ -30,6 +31,8 @@
                 {% if navigate.previous %}<li class="rightPosF"><a href="./?view=view&amp;id={{ navigate.previousid|e }}" class="tool icon icon-next"><span>{% trans "Previous Article" %}</span></a></li>{% endif %}
             </ul>
         </div>
+        {% endblock %}
+
         <div id="article">
             <header class="mbm">
                 <h1>{{ entry.title|raw }}</h1>
@@ -41,6 +44,7 @@
                 {{ content | raw }}
             </article>
         </div>
+        {{ block('toolbar') }}
         <script src="{{ poche_url }}themes/_global/js/restoreScroll.js"></script>
         <script type="text/javascript">
         $(document).ready(function() {