<commit_before>@import play.api.i18n.Messages
@import play.api.mvc.RequestHeader
@import controllers.AssetsFinder

@(user: app.models.UserIdentify, ldapAttributes: Option[Seq[app.models.ldap.LDAPObjectOverview]])(implicit request: RequestHeader, messages: Messages, assets: AssetsFinder)

@main(messages("common.users"), Some(user)) {
  @ldapAttributes match {
    case None => {
      <div class="flex-center vertical-middle">
        <h5>@messages("notfound")</h5>
      </div>
    }
    case Some(ldapAttributes) => {
    <div class="flex-center vertical-middle">
      <h5>@messages("common.users")</h5>
    </div>
    <table class="mdl-data-table mdl-js-data-table mdl-data-table__header--sorted-descending mdl-shadow--1dp padding-40">
      <thead>
      <tr>
        <th><h6>@messages("ldap.attribute.name")</h6></th>
        <th><h6>@messages("ldap.attribute.description")</h6></th>
        <th><h6>@messages("ldap.attribute.distinguishedName")</h6></th>
      </tr>
      </thead>
      @for(ou <- ldapAttributes) {
      <tr>
        <td>
          <a href="@app.controllers.routes.LDAPController.organization(ou.distinguishedName.value)">
            <i class="mdl-color-text material-icons icon-small" role="presentation">account_circle</i>&nbsp;&nbsp;@ou.name.value<commit_msg>Fix link to user page from users<commit_after>@import play.api.i18n.Messages
@import play.api.mvc.RequestHeader
@import controllers.AssetsFinder

@(user: app.models.UserIdentify, ldapAttributes: Option[Seq[app.models.ldap.LDAPObjectOverview]])(implicit request: RequestHeader, messages: Messages, assets: AssetsFinder)

@main(messages("common.users"), Some(user)) {
  @ldapAttributes match {
    case None => {
      <div class="flex-center vertical-middle">
        <h5>@messages("notfound")</h5>
      </div>
    }
    case Some(ldapAttributes) => {
    <div class="flex-center vertical-middle">
      <h5>@messages("common.users")</h5>
    </div>
    <table class="mdl-data-table mdl-js-data-table mdl-data-table__header--sorted-descending mdl-shadow--1dp padding-40">
      <thead>
      <tr>
        <th><h6>@messages("ldap.attribute.name")</h6></th>
        <th><h6>@messages("ldap.attribute.description")</h6></th>
        <th><h6>@messages("ldap.attribute.distinguishedName")</h6></th>
      </tr>
      </thead>
      @for(ou <- ldapAttributes) {
      <tr>
        <td>
          <a href="@app.controllers.routes.LDAPController.user(ou.distinguishedName.value)">
            <i class="mdl-color-text material-icons icon-small" role="presentation">account_circle</i>&nbsp;&nbsp;@ou.name.value
{'fraction_non_alphanumeric': 0.17367811655731377, 'fraction_numerical': 0.011578541103820918, 'mean_word_length': 3.67027027027027, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 67, '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': '3927088', 'n_tokens_mistral': 884, 'n_tokens_neox': 876, 'n_words': 121}