Display server in myaccount modal

This commit is contained in:
Benjamin Renard 2014-01-12 20:05:08 +01:00
parent d70e964e77
commit 3b507dfe74
2 changed files with 8 additions and 0 deletions

View file

@ -464,6 +464,7 @@ logged_out_menu=function() {
on_click_myaccount_btn=function() {
$('#myaccount_modal #myaccount_email').html(user.email);
$('#myaccount_modal #myaccount_name')[0].value=user.name;
$('#myaccount_modal #myaccount_server').html(user.server);
$('#myaccount_modal').modal('show');
}

View file

@ -357,6 +357,13 @@ body{
<input type="password" class="form-control" id="myaccount_password" placeholder="Mot de passe" disabled>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">Serveur</label>
<div class="col-sm-10">
<p class="form-control-static" id='myaccount_server'></p>
</div>
</div>
</form>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Ok</button>