0
Fork 0
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:
Peter Zimon 2021-11-04 08:58:55 +01:00
parent a2c963e794
commit 9a09fe5192
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<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">
<div class="apps-card-left">
<span class="user-list-item-figure" style={{background-image-style user.profileImageUrl}}>

View file

@ -287,8 +287,8 @@
/>
<GhErrorMessage @errors={{this.user.errors}} @property="bio" data-test-error="user-bio" />
<p>
Write about you, in 200 characters or less.
{{gh-count-characters this.user.bio}}
Recommended: <strong>200</strong> characters.
You've used {{gh-count-down-characters this.user.bio 200}}
</p>
</GhFormGroup>