From c8c34e8c7c2a34e2a89bb09f4cdb6567f76491ba Mon Sep 17 00:00:00 2001 From: Tim Schumacher Date: Sun, 3 Nov 2013 11:17:29 +0000 Subject: [PATCH] If only one server is available, just give a textbox. --- templates/registration_form.twig | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/templates/registration_form.twig b/templates/registration_form.twig index 9599152..6695690 100644 --- a/templates/registration_form.twig +++ b/templates/registration_form.twig @@ -35,12 +35,16 @@
- + {% if hosts|length > 1 %} + + {% elseif hosts|length == 1 %} + + {% endif %}

{% trans %}Wähle hier einen Servernamen aus. Deine XMPP-ID ist dann Benutzername@Servername{% endtrans %}