Display server in myaccount modal
Benjamin Renard

Benjamin Renard commited on 2014-01-12 19:05:08
Showing 2 changed files, with 8 additions and 0 deletions.

... ...
@@ -464,6 +464,7 @@ logged_out_menu=function() {
464 464
 on_click_myaccount_btn=function() {
465 465
   $('#myaccount_modal #myaccount_email').html(user.email);
466 466
   $('#myaccount_modal #myaccount_name')[0].value=user.name;
467
+  $('#myaccount_modal #myaccount_server').html(user.server);
467 468
   $('#myaccount_modal').modal('show');
468 469
 }
469 470
 
... ...
@@ -357,6 +357,13 @@ body{
357 357
             <input type="password" class="form-control" id="myaccount_password" placeholder="Mot de passe" disabled>
358 358
          </div>
359 359
         </div>
360
+        <div class="form-group">
361
+          <label class="col-sm-2 control-label">Serveur</label>
362
+          <div class="col-sm-10">
363
+            <p class="form-control-static" id='myaccount_server'></p>
364
+          </div>
365
+        </div>
366
+
360 367
       </form>
361 368
       <div class="modal-footer">
362 369
         <button type="button" class="btn btn-default" data-dismiss="modal">Ok</button>
363 370