aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/courgette
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-28 21:19:08 +0200
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-03-28 21:19:08 +0200
commit3345c9dc3935e00fb07760b68a94081d211d4c36 (patch)
tree3c873f81309ae2eb4d54498d39f27d83f50b2a8e /themes/courgette
parentad697686c00432964528226588a8cbea909c9e36 (diff)
downloadwallabag-3345c9dc3935e00fb07760b68a94081d211d4c36.tar.gz
wallabag-3345c9dc3935e00fb07760b68a94081d211d4c36.tar.zst
wallabag-3345c9dc3935e00fb07760b68a94081d211d4c36.zip
fix of bug with default theme constant
Diffstat (limited to 'themes/courgette')
-rwxr-xr-xthemes/courgette/_top.twig2
-rwxr-xr-xthemes/courgette/_view.twig2
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/courgette/_top.twig b/themes/courgette/_top.twig
index 4d2dbb21..2d41db17 100755
--- a/themes/courgette/_top.twig
+++ b/themes/courgette/_top.twig
@@ -1,6 +1,6 @@
1 <header> 1 <header>
2 <h1> 2 <h1>
3 {% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/img/logo.svg" alt="wallabag logo" />{% endblock %} 3 {% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}themes/{{theme}}/img/logo.svg" alt="wallabag logo" />{% endblock %}
4 {% elseif view == 'fav' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Favoris</span></a> 4 {% elseif view == 'fav' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Favoris</span></a>
5 {% elseif view == 'archive' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Archive</span></a> 5 {% elseif view == 'archive' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Archive</span></a>
6 {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a> 6 {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
diff --git a/themes/courgette/_view.twig b/themes/courgette/_view.twig
index 5aa201d4..9f9ea4f6 100755
--- a/themes/courgette/_view.twig
+++ b/themes/courgette/_view.twig
@@ -23,7 +23,7 @@
23 {{ content | raw }} 23 {{ content | raw }}
24 </article> 24 </article>
25 </div> 25 </div>
26 <script src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/js/restoreScroll.js"></script> 26 <script src="{{ poche_url }}themes/{{theme}}/js/restoreScroll.js"></script>
27 <script type="text/javascript"> 27 <script type="text/javascript">
28 $(document).ready(function() { 28 $(document).ready(function() {
29 29