add a link to bounce emails list in user admin profile
This commit is contained in:
parent
d43231da92
commit
8a04b78909
|
@ -32,6 +32,11 @@ const AdminUser = Discourse.User.extend({
|
|||
}
|
||||
},
|
||||
|
||||
@computed
|
||||
bounceLink() {
|
||||
return Discourse.getURL("/admin/email/bounced");
|
||||
},
|
||||
|
||||
canResetBounceScore: Ember.computed.gt("bounce_score", 0),
|
||||
|
||||
resetBounceScore() {
|
||||
|
|
|
@ -354,7 +354,7 @@
|
|||
</div>
|
||||
|
||||
<div class="display-row">
|
||||
<div class='field'>{{i18n 'admin.user.bounce_score'}}</div>
|
||||
<div class='field'><a href="{{model.bounceLink}}">{{i18n 'admin.user.bounce_score'}}</a></div>
|
||||
<div class='value'>{{model.bounceScore}}</div>
|
||||
<div class='controls'>
|
||||
{{#if model.canResetBounceScore}}
|
||||
|
|
Loading…
Reference in New Issue