Commit 8f7f3e32 authored by Christoph's avatar Christoph

Hide server label in room panel when input is hidden by hide_muc_server=true config

parent ae272611
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
<label>{{label_nickname}}</label> <label>{{label_nickname}}</label>
<input type="text" name="nick" class="new-chatroom-nick" <input type="text" name="nick" class="new-chatroom-nick"
placeholder="{{label_nickname}}"/> placeholder="{{label_nickname}}"/>
{[ if (server_input_type != 'hidden') { ]}
<label{{server_label_global_attr}}>{{label_server}}</label> <label{{server_label_global_attr}}>{{label_server}}</label>
{[ } ]}
<input type="{{server_input_type}}" name="server" class="new-chatroom-server" <input type="{{server_input_type}}" name="server" class="new-chatroom-server"
placeholder="{{label_server}}"/> placeholder="{{label_server}}"/>
<div class="button-group"> <div class="button-group">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment