mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
Merge pull request #588 from mariroz/dev
fix of bug with default theme constant
This commit is contained in:
commit
d6d8a045e6
@ -7,9 +7,9 @@
|
||||
<link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/main.css" media="all">
|
||||
<link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/messages.css" media="all">
|
||||
<link rel="stylesheet" href="{{ poche_url }}themes/{{theme}}/css/print.css" media="print">
|
||||
<script src="{{ poche_url }}themes/{{theme}}/js/jquery-2.0.3.min.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/js/autoClose.js"></script>
|
||||
<script src="{{ poche_url }}themes/default/js/jquery-2.0.3.min.js"></script>
|
||||
<script src="{{ poche_url }}themes/default/js/autoClose.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{theme}}/js/jquery.cookie.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{theme}}/js/init.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/js/saveLink.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/js/closeMessage.js"></script>
|
||||
<script src="{{ poche_url }}themes/default/js/saveLink.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{theme}}/js/closeMessage.js"></script>
|
||||
|
@ -1,6 +0,0 @@
|
||||
$(document).ready(function() {
|
||||
current_url = window.location.href
|
||||
if (current_url.match("&closewin=true")) {
|
||||
window.close();
|
||||
}
|
||||
});
|
1
themes/baggy/js/jquery-2.0.3.min.js
vendored
1
themes/baggy/js/jquery-2.0.3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
<header>
|
||||
<h1>
|
||||
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/img/logo.svg" alt="wallabag logo" />{% endblock %}
|
||||
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}themes/{{theme}}/img/logo.svg" alt="wallabag logo" />{% endblock %}
|
||||
{% elseif view == 'fav' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Favoris</span></a>
|
||||
{% elseif view == 'archive' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Archive</span></a>
|
||||
{% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
|
||||
|
@ -23,7 +23,7 @@
|
||||
{{ content | raw }}
|
||||
</article>
|
||||
</div>
|
||||
<script src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/js/restoreScroll.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{theme}}/js/restoreScroll.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
</article>
|
||||
{{ block('tags') }}
|
||||
</div>
|
||||
<script src="{{ poche_url }}themes/{{ constant('DEFAULT_THEME') }}/js/restoreScroll.js"></script>
|
||||
<script src="{{ poche_url }}themes/{{theme}}/js/restoreScroll.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user