diff --git a/pyweb/mumble/templates/mumble/mumble.html b/pyweb/mumble/templates/mumble/mumble.html index 294f285..7dee468 100644 --- a/pyweb/mumble/templates/mumble/mumble.html +++ b/pyweb/mumble/templates/mumble/mumble.html @@ -14,7 +14,7 @@ background: transparent url({{ MUMBLE_MEDIA_PREFIX }}img/tab-scroller-menu.gif) no-repeat 0 0; } - + @@ -40,7 +40,7 @@ text: "{% trans "Back to the server list" %}", xtype: "button", handler: function(){ - location.href = "{% url mumble.views.mumbles %}"; + location.href = "{% url 'mumble.views.mumbles' %}"; } } ], buttons: [ @@ -48,14 +48,14 @@ { xtype: 'buttonIframeWindow', text: "{% trans 'Edit Translation' %}", - url: '{% url rosetta-home %}' + url: '{% url "rosetta-home" %}' }, {% endif %} {% if user.is_staff %} { xtype: 'buttonIframeWindow', text: "{% trans 'Administration' %}", - url: '{% url admin:mumble_mumble_change MumbleServer.id %}' + url: '{% url "admin:mumble_mumble_change" MumbleServer.id %}' }, {% endif %} {% if user.is_authenticated %} @@ -65,7 +65,7 @@ { xtype: 'buttonIframeWindow', text: "{% trans 'Register' %}", - url: '{% url registration.views.register %}' + url: '{% url "registration.views.register" %}' }, {% endif %} new Ext.ux.ButtonLogin() @@ -90,7 +90,7 @@ is_admin: {{ IsAdmin|lower }} }) ], - source_url: "{% url mumble.views.cvp_json MumbleServer.id %}", + source_url: "{% url 'mumble.views.cvp_json' MumbleServer.id %}", imageurl: '{{MUMBLE_MEDIA_PREFIX}}/img', listeners: { moveUser: function( tree, userdata, chandata ){ @@ -109,7 +109,7 @@ items: [{ title: "{% trans "Server info" %}", {% if QRAvailable %} - html: ('QR Code for embedded view' + renderserverinfos( {{ ServerDict|safe }} )) {% else %} @@ -196,7 +196,7 @@ height: 200, title: "{% trans "Texture" %}", html: String.format('Avatar', - "{% url mumble.views.showTexture MumbleServer.id MumbleAccount.mumbleid %}") + "{% url 'mumble.views.showTexture' MumbleServer.id MumbleAccount.mumbleid %}") }, { flex: 1, height: 200, @@ -208,7 +208,7 @@ xtype: "form", labelWidth: 150, fileUpload: true, - url: "{% url mumble.views.update_avatar MumbleAccount.id %}", + url: "{% url 'mumble.views.update_avatar' MumbleAccount.id %}", items: [{ name: "usegravatar", fieldLabel: "{% trans "Use Gravatar" %}", @@ -227,7 +227,7 @@ var now = new Date(); var img = Ext.fly("img_avatar"); img.dom.src = String.format("{0}?_dc={1}", - "{% url mumble.views.showTexture MumbleServer.id MumbleAccount.mumbleid %}", + "{% url 'mumble.views.showTexture' MumbleServer.id MumbleAccount.mumbleid %}", now.getTime() ); } diff --git a/pyweb/templates/index.html b/pyweb/templates/index.html index f7ed83f..ac6b562 100644 --- a/pyweb/templates/index.html +++ b/pyweb/templates/index.html @@ -30,33 +30,33 @@

{% block Headline %}{% endblock %}