diff --git a/app/assets/javascripts/admin/templates/dashboard.js.handlebars b/app/assets/javascripts/admin/templates/dashboard.js.handlebars index ae70b1702a7..93b8f5dad84 100644 --- a/app/assets/javascripts/admin/templates/dashboard.js.handlebars +++ b/app/assets/javascripts/admin/templates/dashboard.js.handlebars @@ -58,7 +58,7 @@
- + diff --git a/app/assets/javascripts/admin/templates/user_index.js.handlebars b/app/assets/javascripts/admin/templates/user_index.js.handlebars index 513abfabe60..90fd817b6c8 100644 --- a/app/assets/javascripts/admin/templates/user_index.js.handlebars +++ b/app/assets/javascripts/admin/templates/user_index.js.handlebars @@ -199,13 +199,13 @@
{{#if can_revoke_admin}} {{/if}} {{#if can_grant_admin}} {{/if}} diff --git a/app/assets/javascripts/admin/templates/users_list.js.handlebars b/app/assets/javascripts/admin/templates/users_list.js.handlebars index 131036732a3..3376ca0b58a 100644 --- a/app/assets/javascripts/admin/templates/users_list.js.handlebars +++ b/app/assets/javascripts/admin/templates/users_list.js.handlebars @@ -86,7 +86,7 @@ {{/if}}
diff --git a/app/assets/javascripts/discourse/components/poster-name.js.es6 b/app/assets/javascripts/discourse/components/poster-name.js.es6 index 4cb479bae9c..ee0e5a40a13 100644 --- a/app/assets/javascripts/discourse/components/poster-name.js.es6 +++ b/app/assets/javascripts/discourse/components/poster-name.js.es6 @@ -85,7 +85,7 @@ var PosterNameComponent = Em.Component.extend({ if(post.get('admin')) { desc = I18n.t('user.admin_tooltip'); - return ''; + return ''; } else if(post.get('moderator')) { desc = I18n.t('user.moderator_tooltip'); return ''; diff --git a/app/assets/javascripts/discourse/models/user.js b/app/assets/javascripts/discourse/models/user.js index bdb94e0c9ea..c1146e8a35a 100644 --- a/app/assets/javascripts/discourse/models/user.js +++ b/app/assets/javascripts/discourse/models/user.js @@ -81,7 +81,7 @@ Discourse.User = Discourse.Model.extend({ if(this.get('admin')) { desc = I18n.t('user.admin', {user: name}); - return ''; + return ''; } if(this.get('moderator')){ desc = I18n.t('user.moderator', {user: name});
{{i18n admin.dashboard.admins}} {{i18n admin.dashboard.admins}} {{#link-to 'adminUsersList.admins'}}{{admins}}{{/link-to}} {{i18n admin.dashboard.suspended}} {{#link-to 'adminUsersList.suspended'}}{{suspended}}{{/link-to}} - {{#if admin}}{{/if}} + {{#if admin}}{{/if}} {{#if moderator}}{{/if}}