diff options
author | 2017-12-19 15:45:21 +0300 | |
---|---|---|
committer | 2017-12-19 15:45:21 +0300 | |
commit | edfb4c9c20bccfcf0cf87124f3946b5e24300a11 (patch) | |
tree | b109a08f148430e3c1417ebd5dc41c44109b92e1 /juick-www/src | |
parent | eab80ba585ae61a3ddef7a785a87ead7f39e9efe (diff) |
www: update settings page
Diffstat (limited to 'juick-www/src')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/settings_main.html | 4 |
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 "AUTH {{ auth.getAuthCode() }}" (without quotes) from this account to "juick@juick.com".\'); 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 |