mirror of
https://github.com/discourse/discourse.git
synced 2025-09-09 12:21:04 +08:00
FEATURE: allow admins to enter badge long descriptions
FIX: fallback to description if badge long description is missing Also moves all badge localization into server.en, this slims the client down serializers pass down localized names/descriptions/long descriptions
This commit is contained in:
parent
94f831f7e7
commit
fe51f84aa7
20 changed files with 284 additions and 283 deletions
|
@ -61,7 +61,7 @@ export default Ember.ArrayController.extend({
|
|||
}
|
||||
});
|
||||
|
||||
return _.sortBy(badges, badge => badge.get('displayName'));
|
||||
return _.sortBy(badges, badge => badge.get('name'));
|
||||
}.property('badges.@each', 'model.@each'),
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue