2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FEATURE: group can grant a trust level when a user is added

This commit is contained in:
Neil Lalonde 2015-09-01 16:52:05 -04:00
parent f2fa7a39be
commit 1bd0f5b015
11 changed files with 52 additions and 3 deletions

View file

@ -27,6 +27,13 @@ export default Ember.Controller.extend({
];
}.property(),
trustLevelOptions: function() {
return [
{ name: I18n.t("groups.trust_levels.none"), value: 0 },
{ name: 1, value: 1 }, { name: 2, value: 2 }, { name: 3, value: 3 }, { name: 4, value: 4 }
];
}.property(),
actions: {
next() {
if (this.get("showingLast")) { return; }