aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/settings_main.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/settings_main.html b/juick-www/src/main/webapp/WEB-INF/views/settings_main.html
index 14c200b6..47299b9f 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/settings_main.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/settings_main.html
@@ -29,6 +29,7 @@
</p>
{% endif %}
</fieldset>
+ {% if jids | length > 0 %}
<form action="/settings" method="POST" enctype="multipart/form-data">
<fieldset>
<legend style="background: url(//static.juick.com/settings/xmpp.png) no-repeat; padding-left: 58px; line-height: 48px;">
@@ -46,13 +47,14 @@
onclick="alert(\'To confirm, please send &quot;AUTH {{ auth.getAuthCode() }}&quot; (without quotes) from this account to &quot;juick@juick.com&quot;.\'); return false;">Confirm</a><br/>
{% endfor %}
</p>
- {% if jids is not empty %}
+ {% if jids | length > 1 %}
<p><input type="hidden" name="page" value="jid-del"/><input type="submit" value=" Delete "/></p>
{% endif %}
<p>To add new jabber account: send any text message to <a href="xmpp:juick@juick.com?message;body=login">juick@juick.com</a>
</p>
</fieldset>
</form>
+ {% endif %}
<fieldset>
<legend style="background: url(//static.juick.com/settings/email.png) no-repeat; padding-left: 58px; line-height: 48px;">
E-mail