mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 00:27:58 +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:
@ -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'),
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user