Browse Source

merge

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
e97a81ffe4
  1. 30
      pyweb/mumble/templates/mumble/mumble.html

30
pyweb/mumble/templates/mumble/mumble.html

@ -115,15 +115,15 @@
labelWidth: 150, labelWidth: 150,
baseParams: {serverid: {{MumbleServer.id}} }, baseParams: {serverid: {{MumbleServer.id}} },
}, },
{% if MumbleAccount %}
{% if IsAdmin %}
{% if IsAdmin %}
{ {
title: gettext("Administration"), title: gettext("Administration"),
pk: {{ MumbleServer.id }}, pk: {{ MumbleServer.id }},
labelWidth: 150, labelWidth: 150,
xtype: 'mumbleform', xtype: 'mumbleform',
}, },
{% endif %}
{% endif %}
{% if MumbleAccount %}
{ {
title: gettext("User texture"), title: gettext("User texture"),
layout: "border", layout: "border",
@ -176,18 +176,18 @@
}], }],
}], }],
}, },
{% if IsAdmin %}
{
xtype: "userEditorPanel",
server: {{ MumbleServer.id }}
}, {
xtype: 'logViewerPanel',
server: {{ MumbleServer.id }}
}, {
xtype: 'banViewerPanel',
server: {{ MumbleServer.id }}
}
{% endif %}
{% endif %}
{% if IsAdmin %}
{
xtype: "userEditorPanel",
server: {{ MumbleServer.id }}
}, {
xtype: 'logViewerPanel',
server: {{ MumbleServer.id }}
}, {
xtype: 'banViewerPanel',
server: {{ MumbleServer.id }}
}
{% endif %} {% endif %}
{% endif %} {% endif %}
], ],

Loading…
Cancel
Save