<commit_before>Template.usersSettings.created = function () {
  // Get reference to Template instance
  var instance = this;

  // Subscribe to all users
  instance.subscribe("allUsers");
};

Template.usersSettings.helpers({
  "users": function () {
    // Get all users
    var users = Meteor.users.find().fetch();

    return users;
  },
  "email": function () {
    if (this.emails && this.emails.length) {
      // Return the user's first email address
      return this.emails[0].address;
    }
  },
  "roles": function () {
    if (this.roles && this.roles.length) {
      // Return comma separated list of roles
      return this.roles.join();
    }
  },
});

Template.usersSettings.events({
  'click #add-user': function () {
    // Show the add activity modal
    Modal.show('newUser');
  },
}):<commit_msg>Cleanup unused helpers<commit_after>Template.usersSettings.created = function () {
  // Get reference to Template instance
  var instance = this;

  // Subscribe to all users
  instance.subscribe("allUsers");
};

Template.usersSettings.events({
  'click #add-user': function () {
    // Show the add activity modal
    Modal.show('newUser');
  },
}):
{'fraction_non_alphanumeric': 0.14751286449399656, 'fraction_numerical': 0.0008576329331046312, 'mean_word_length': 3.038062283737024, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5199241', 'n_tokens_mistral': 356, 'n_tokens_neox': 348, 'n_words': 89}