add username input to user preferences

This commit is contained in:
Riku Rouvila 2014-11-02 17:44:52 +02:00
parent c83a9d953a
commit aff5492ee4
2 changed files with 15 additions and 0 deletions

View File

@ -131,6 +131,13 @@
<input class="input" name="nick" value="<%= defaults.nick %>"> <input class="input" name="nick" value="<%= defaults.nick %>">
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="col-sm-3">
<label>Username</label>
</div>
<div class="col-sm-5">
<input class="input" name="nick" value="<%= defaults.username %>">
</div>
<div class="clearfix"></div>
<div class="col-sm-3"> <div class="col-sm-3">
<label>Real Name</label> <label>Real Name</label>
</div> </div>

View File

@ -146,6 +146,14 @@ module.exports = {
// //
nick: "shout-user", nick: "shout-user",
//
// Username
//
// @type string
// @default ""
//
username: "",
// //
// Real Name // Real Name
// //