UX: Don't show the suspension date if the user is permantently suspended. (#9895)
Use the same pattern used in user.hbs
This commit is contained in:
parent
570b12a903
commit
207b72ade1
|
@ -125,7 +125,11 @@
|
||||||
<div class="suspended">
|
<div class="suspended">
|
||||||
<div class="suspension-date">
|
<div class="suspension-date">
|
||||||
{{d-icon "ban"}}
|
{{d-icon "ban"}}
|
||||||
{{i18n "user.suspended_notice" date=this.user.suspendedTillDate}}
|
{{#if this.user.suspendedForever}}
|
||||||
|
{{i18n 'user.suspended_permanently'}}
|
||||||
|
{{else}}
|
||||||
|
{{i18n 'user.suspended_notice' date=this.user.suspendedTillDate}}
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="suspension-reason">
|
<div class="suspension-reason">
|
||||||
<span class="suspension-reason-title">{{i18n "user.suspended_reason"}}</span>
|
<span class="suspension-reason-title">{{i18n "user.suspended_reason"}}</span>
|
||||||
|
|
Loading…
Reference in New Issue