Add translation, fix tag display
This commit is contained in:
parent
5554413a7c
commit
2d6ff4d610
3 changed files with 8 additions and 5 deletions
|
@ -240,7 +240,9 @@ export default {
|
||||||
confirmAccounts: 'Confirm accounts',
|
confirmAccounts: 'Confirm accounts',
|
||||||
resendConfirmation: 'Resend confirmation email',
|
resendConfirmation: 'Resend confirmation email',
|
||||||
invalidAccount: 'This account has invalid nickname and can\'t be modified',
|
invalidAccount: 'This account has invalid nickname and can\'t be modified',
|
||||||
invalidNickname: 'invalid nickname'
|
invalidNickname: 'invalid nickname',
|
||||||
|
passwordResetTokenGenerated: 'Password reset token was generated:',
|
||||||
|
linkToResetPassword: 'You can also use this link to reset password:'
|
||||||
},
|
},
|
||||||
statuses: {
|
statuses: {
|
||||||
statuses: 'Statuses',
|
statuses: 'Statuses',
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
custom-class="password-reset-token-dialog"
|
custom-class="password-reset-token-dialog"
|
||||||
@close="closeResetPasswordDialog">
|
@close="closeResetPasswordDialog">
|
||||||
<div>
|
<div>
|
||||||
<p class="password-reset-token">Password reset token was generated: {{ passwordResetToken }}</p>
|
<p class="password-reset-token">{{ $t('users.passwordResetTokenGenerated') }} {{ passwordResetToken }}</p>
|
||||||
<p>You can also use this link to reset password:
|
<p>{{ $t('users.linkToResetPassword') }}
|
||||||
<a :href="passwordResetLink" target="_blank" class="reset-password-link">{{ passwordResetLink }}</a>
|
<a :href="passwordResetLink" target="_blank" class="reset-password-link">{{ passwordResetLink }}</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
<td>{{ $t('userProfile.tags') }}</td>
|
<td>{{ $t('userProfile.tags') }}</td>
|
||||||
<td>
|
<td>
|
||||||
<span v-if="user.tags.length === 0 || !propertyExists(user, 'tags')">—</span>
|
<span v-if="user.tags.length === 0 || !propertyExists(user, 'tags')">—</span>
|
||||||
<el-tag v-for="tag in user.tags" v-else :key="tag" class="user-profile-tag">{{ tag }}</el-tag>
|
<el-tag v-for="tag in user.tags" v-else :key="tag" class="user-profile-tag">{{ humanizeTag(tag) }}</el-tag>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="el-table__row">
|
<tr class="el-table__row">
|
||||||
|
@ -286,7 +286,8 @@ table {
|
||||||
.user-page-header {
|
.user-page-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0 15px 0 20px;
|
margin: 22px 15px 22px 20px;
|
||||||
|
padding: 0;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
h1 {
|
h1 {
|
||||||
display: inline
|
display: inline
|
||||||
|
|
Loading…
Reference in a new issue