mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Add link to change username on admin page
This commit is contained in:
parent
b1c0a3d01c
commit
09ea159afc
@ -1,9 +1,6 @@
|
||||
<section class='details'>
|
||||
|
||||
<div class='display-row'>
|
||||
<div class='field'>{{i18n user.username.title}}</div>
|
||||
<div class='value'>{{username}}</div>
|
||||
<div class='controls'>
|
||||
<div class='user-controls'>
|
||||
{{#link-to 'user' model class="btn"}}
|
||||
<i class='fa fa-user'></i>
|
||||
{{i18n admin.user.show_public_profile}}
|
||||
@ -21,6 +18,16 @@
|
||||
</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class='display-row'>
|
||||
<div class='field'>{{i18n user.username.title}}</div>
|
||||
<div class='value'>{{username}}</div>
|
||||
<div class='controls'>
|
||||
{{#link-to 'preferences.username' model class="btn"}}
|
||||
<i class='fa fa-pencil'></i>
|
||||
{{i18n user.change_username.title}}
|
||||
{{/link-to}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='display-row'>
|
||||
|
@ -284,11 +284,11 @@ td.flaggers td {
|
||||
|
||||
section.details {
|
||||
h1 {
|
||||
font-size: 15px;
|
||||
background-color: scale-color-diff();
|
||||
color: $secondary;
|
||||
padding: 0 10px;
|
||||
margin: 0 0 5px 0;
|
||||
font-size: 18px;
|
||||
color: $primary;
|
||||
padding: 5px 10px;
|
||||
margin: 30px 0 5px 0;
|
||||
border-bottom: 5px solid scale-color-diff();
|
||||
}
|
||||
}
|
||||
|
||||
@ -301,6 +301,12 @@ section.details {
|
||||
width: 1075px;
|
||||
}
|
||||
|
||||
.user-controls {
|
||||
padding: 5px;
|
||||
clear: both;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.display-row {
|
||||
line-height: 30px;
|
||||
padding: 5px;
|
||||
|
Loading…
Reference in New Issue
Block a user