Browse Source

replace hardcoded URLs by {%url%} and configured path

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
de7ec8fc59
  1. 4
      pyweb/mumble/templates/mumble/list.html
  2. 10
      pyweb/mumble/templates/mumble/mumble.html

4
pyweb/mumble/templates/mumble/list.html

@ -7,8 +7,8 @@
{% block body %}
{% endblock %}
{% block HeadTag %}
<script type="text/javascript" src="/jsi18n/"></script>
<script type="text/javascript" src="/mumble/api/api.js"></script>
<script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
<script type="text/javascript" src="{{ settings.MUMBLE_DJANGO_URL }}mumble/api/api.js"></script>
<script type="text/javascript" src="{{ MUMBLE_MEDIA_PREFIX }}js/rendermumbleserver.js"></script>
<script type="text/javascript" src="{{ MUMBLE_MEDIA_PREFIX }}js/buttoniframewindow.js"></script>
<script type="text/javascript" src="{{ MUMBLE_MEDIA_PREFIX }}js/loginout_buttons.js"></script>

10
pyweb/mumble/templates/mumble/mumble.html

@ -14,12 +14,12 @@
background: transparent url({{ MUMBLE_MEDIA_PREFIX }}img/tab-scroller-menu.gif) no-repeat 0 0;
}
</style>
<script type="text/javascript" src="/jsi18n/"></script>
<script type="text/javascript" src="{% url django.views.i18n.javascript_catalog %}"></script>
<script type="text/javascript" src="{{ MUMBLE_MEDIA_PREFIX }}js/TabScrollerMenu.js"></script>
<script type="text/javascript" src="/mumble/api/api.js"></script>
<script type="text/javascript" src="/mumble/forms/api.js"></script>
<script type="text/javascript" src="/mumble/forms/{{ RegForm|lower }}.js"></script>
<script type="text/javascript" src="/mumble/forms/mumbleform.js"></script>
<script type="text/javascript" src="{{ settings.MUMBLE_DJANGO_URL }}api/api.js"></script>
<script type="text/javascript" src="{{ settings.MUMBLE_DJANGO_URL }}forms/api.js"></script>
<script type="text/javascript" src="{{ settings.MUMBLE_DJANGO_URL }}forms/{{ RegForm|lower }}.js"></script>
<script type="text/javascript" src="{{ settings.MUMBLE_DJANGO_URL }}forms/mumbleform.js"></script>
<script type="text/javascript" src="{{ MUMBLE_MEDIA_PREFIX }}js/channelviewer.js"></script>
<script type="text/javascript" src="{{ MUMBLE_MEDIA_PREFIX }}js/channelviewerplugins.js"></script>
<script type="text/javascript" src="{{ MUMBLE_MEDIA_PREFIX }}js/rendermumbleserver.js"></script>

Loading…
Cancel
Save