UX: Tweak explanations for multiple_grant and allow_title
This commit is contained in:
parent
4db76796b9
commit
f7e8bc6216
|
@ -1,11 +0,0 @@
|
|||
import computed from 'ember-addons/ember-computed-decorators';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
tagName: 'span',
|
||||
classNameBindings: [':check-display', 'status'],
|
||||
|
||||
@computed('checked')
|
||||
status(checked) {
|
||||
return checked ? 'status-checked' : 'status-unchecked';
|
||||
}
|
||||
});
|
|
@ -9,12 +9,16 @@
|
|||
{{badge-card badge=model size="large" count=userBadges.grant_count}}
|
||||
<div class='badge-grant-info'>
|
||||
<div>
|
||||
<div class='grant-info-item'>
|
||||
{{check-mark checked=model.allow_title}} {{i18n 'badges.allow_title'}}
|
||||
</div>
|
||||
<div class='grant-info-item'>
|
||||
{{check-mark checked=model.multiple_grant}} {{i18n 'badges.multiple_grant'}}
|
||||
</div>
|
||||
{{#if model.allow_title}}
|
||||
<div class='grant-info-item'>
|
||||
{{i18n 'badges.allow_title'}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if model.multiple_grant}}
|
||||
<div class='grant-info-item'>
|
||||
{{i18n 'badges.multiple_grant'}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{{#if checked}}
|
||||
{{fa-icon "check"}}
|
||||
{{else}}
|
||||
{{fa-icon "times"}}
|
||||
{{/if}}
|
|
@ -2342,8 +2342,8 @@ en:
|
|||
granted_on: "Granted %{date}"
|
||||
others_count: "Others with this badge (%{count})"
|
||||
title: Badges
|
||||
allow_title: "available title"
|
||||
multiple_grant: "awarded multiple times"
|
||||
allow_title: "You can use this badge as a title"
|
||||
multiple_grant: "You can earn this multiple times"
|
||||
badge_count:
|
||||
one: "1 Badge"
|
||||
other: "%{count} Badges"
|
||||
|
|
Loading…
Reference in New Issue