mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed staff route and bio character count
- Removed "offers" feature flag for staff user route - Updated "Bio" character count UI in staff user detail screen
This commit is contained in:
parent
a2c963e794
commit
9a09fe5192
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
<div class="apps-grid-cell tooltip-centered" data-tooltip="{{ if user.isLocked 'Requires password reset to log in'}}">
|
<div class="apps-grid-cell tooltip-centered" data-tooltip="{{ if user.isLocked 'Requires password reset to log in'}}">
|
||||||
<LinkTo @route={{if (feature "offers") "settings.staff.user" "staff.user"}} @model={{user.slug}} data-test-user-id={{user.id}}>
|
<LinkTo @route="settings.staff.user" @model={{user.slug}} data-test-user-id={{user.id}}>
|
||||||
<article class="apps-card-app">
|
<article class="apps-card-app">
|
||||||
<div class="apps-card-left">
|
<div class="apps-card-left">
|
||||||
<span class="user-list-item-figure" style={{background-image-style user.profileImageUrl}}>
|
<span class="user-list-item-figure" style={{background-image-style user.profileImageUrl}}>
|
||||||
|
|
|
@ -287,8 +287,8 @@
|
||||||
/>
|
/>
|
||||||
<GhErrorMessage @errors={{this.user.errors}} @property="bio" data-test-error="user-bio" />
|
<GhErrorMessage @errors={{this.user.errors}} @property="bio" data-test-error="user-bio" />
|
||||||
<p>
|
<p>
|
||||||
Write about you, in 200 characters or less.
|
Recommended: <strong>200</strong> characters.
|
||||||
{{gh-count-characters this.user.bio}}
|
You've used {{gh-count-down-characters this.user.bio 200}}
|
||||||
</p>
|
</p>
|
||||||
</GhFormGroup>
|
</GhFormGroup>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue