Skip to content
Snippets Groups Projects
Commit 2687466a authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Fixes #2383. Profile page improvements.

parent fa5ee2f3
No related branches found
No related tags found
No related merge requests found
......@@ -269,6 +269,10 @@ blockquote {
font-size: 11px;
}
}
.logoutOthers {
text-align: right;
}
.submit {
margin-top: 20px;
text-align: right;
......
......@@ -42,7 +42,6 @@ Template.accountProfile.onCreated ->
@find('#language').value = localStorage.getItem('userLanguage')
@find('#oldPassword').value = ''
@find('#password').value = ''
@find('#username').value = ''
@changePassword = (oldPassword, newPassword, callback) ->
instance = @
......
......@@ -19,9 +19,9 @@
<label for="username">{{_ "Username"}}</label>
<div>
{{#if allowUsernameChange}}
<input type="text" name="username" id="username" placeholder="{{username}}" />
<input type="text" name="username" id="username" value="{{username}}" />
{{else}}
<input type="text" name="username" id="username" placeholder="{{username}}" readonly="readonly" title="{{usernameChangeDisabled}}" />
<input type="text" name="username" id="username" value="{{username}}" readonly="readonly" title="{{usernameChangeDisabled}}" />
{{/if}}
</div>
</div>
......@@ -29,9 +29,9 @@
<label for="email">{{_ "E-mail"}}</label>
<div>
{{#if allowEmailChange}}
<input type="email" name="email" id="email" placeholder="{{email}}" />
<input type="email" name="email" id="email" value="{{email}}" />
{{else}}
<input type="email" name="email" id="email" placeholder="{{email}}" readonly="readonly" title="{{emailChangeDisabled}}" />
<input type="email" name="email" id="email" value="{{email}}" readonly="readonly" title="{{emailChangeDisabled}}" />
{{/if}}
</div>
</div>
......@@ -66,12 +66,12 @@
</div>
</div>
</fieldset>
<div class="logoutOthers">
<button class="button red">{{_ "Logout_Others"}}</button>
</div>
<div class="submit">
<button class="button"><i class="icon-send"></i><span>{{_ "Save_changes"}}</span></button>
</div>
<div class="logoutOthers">
<button class="button">{{_ "Logout_Others"}}</button>
</div>
</div>
</div>
</section>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment