diff --git a/services/modules/mumble/auth_hooks.py b/services/modules/mumble/auth_hooks.py index 44f4024d..d2fcf307 100644 --- a/services/modules/mumble/auth_hooks.py +++ b/services/modules/mumble/auth_hooks.py @@ -57,8 +57,8 @@ class MumbleService(ServicesHook): return render_to_string(self.service_ctrl_template, { 'service_name': self.title, 'urls': urls, - 'service_url': 'mumble://' + self.service_url, - 'connect_url': 'mumble://' + str(request.user.mumble.username + '@' + self.service_url if MumbleTasks.has_account(request.user) else self.service_url), + 'service_url': self.service_url, + 'connect_url': request.user.mumble.username + '@' + self.service_url if MumbleTasks.has_account(request.user) else self.service_url, 'username': request.user.mumble.username if MumbleTasks.has_account(request.user) else '', }, request=request) diff --git a/services/modules/mumble/templates/registered/mumble_service_ctrl.html b/services/modules/mumble/templates/registered/mumble_service_ctrl.html index b668e110..e818b7db 100644 --- a/services/modules/mumble/templates/registered/mumble_service_ctrl.html +++ b/services/modules/mumble/templates/registered/mumble_service_ctrl.html @@ -1,7 +1,7 @@ {{ service_name }} {{ username }} - {{ service_url }} + {{ service_url }} {% ifequal username "" %} @@ -17,7 +17,7 @@ - + {% endifequal %} diff --git a/services/modules/teamspeak3/templates/registered/teamspeak3_service_ctrl.html b/services/modules/teamspeak3/templates/registered/teamspeak3_service_ctrl.html index 7ac4840b..775d6bf7 100644 --- a/services/modules/teamspeak3/templates/registered/teamspeak3_service_ctrl.html +++ b/services/modules/teamspeak3/templates/registered/teamspeak3_service_ctrl.html @@ -1,34 +1,27 @@ {% load i18n %} - - {% trans "Service" %} - {% trans "Unique ID" %} - PermissionKey - {% trans "Action" %} - Teamspeak 3 {{ authinfo.teamspeak3_uid }} - {{ authinfo.teamspeak3_perm_key }} + {{ TEAMSPEAK3_PUBLIC_URL }} {% ifequal authinfo.teamspeak3_uid "" %} - + {% else %} - - - - + - + - + + + + {% endifequal %} - \ No newline at end of file + diff --git a/stock/templates/registered/services.html b/stock/templates/registered/services.html index 11c358b3..98137c10 100755 --- a/stock/templates/registered/services.html +++ b/stock/templates/registered/services.html @@ -10,7 +10,7 @@ {% block content %}

{% trans "Available Services" %}

- +
{% trans "Service" %} {% trans "Username" %}