<commit_before>{{#if (can "read client" model)}}
  {{application-header default=true}}

  <div class="container-fluid">
    {{#if (can "read provider" model.provider)}}
      <ol class="breadcrumb">
        {{#if (can "read index")}}
          <li class="breadcrumb-item">{{#link-to "index"}}DataCite{{/link-to}}</li>
          <li class="breadcrumb-item">{{#link-to "providers"}}Providers{{/link-to}}</li>
        {{/if}}
        {{#if (eq model.provider.memberType "consortium_organization")}}
          <li class="breadcrumb-item">{{#link-to "providers.show.index" model.provider.consortiumLead.id}}{{model.provider.consortiumLead.name}}{{/link-to}}</li>
        {{/if}}
        <li class="breadcrumb-item">{{#link-to "providers.show" model.provider.id}}{{model.provider.name}}{{/link-to}}</li>
        <li class="breadcrumb-item">{{#link-to "providers.show.clients" model.provider.id}}Clients{{/link-to}}</li>
      </ol>
    {{/if}}

    <div id="show">
      {{#if model.repository}}
        <div class="pull-right">
          <a href="https://doi.org/{{model.repository.id}}"><img class="img-responsive" src="{{model.badgeUrl}}"></a>
        </div>
      {{/if}}

      <h2 class="work">{{model.displayName}}{{#if (not model.isActive)}} <span class="small icon-warning">account not active</span>{{/if}}</h2>

      <div class="tab-content nav-tabs-member">
        {{#bs-nav type="tabs" as |nav|}}
          {{#nav.item}}{{#nav.link-to "clients.show.index" model.id class="nav-link"}}Info{{/nav.link-to}}{{/nav.item}}
          {{#nav.item}}{{#nav.link-to "clients.show.settings" model.id class="nav-link"}}Settings{{/nav.link-to}}{{/nav.item}}
          {{#nav.item}}{{#nav.link-to "clients.show.prefixes" model.id class="nav-link"}}Prefixes{{/nav.link-to}}{{/nav.item}}
          {{#nav.item}}{{#nav.link-to "clients.show.dois" model.id class="nav-link doi"}}DOIs{{/nav.link-to}}{{/nav.item}}
        {{/bs-nav}}
      </div>
    </div>

    {{outlet}}
  </div>
{{else}}
  {{application-header}}
  {{landing-page}}
{{/if}}<commit_msg>fix display of client name<commit_after>{{#if (can "read client" model)}}
  {{application-header default=true}}

  <div class="container-fluid">
    {{#if (can "read provider" model.provider)}}
      <ol class="breadcrumb">
        {{#if (can "read index")}}
          <li class="breadcrumb-item">{{#link-to "index"}}DataCite{{/link-to}}</li>
          <li class="breadcrumb-item">{{#link-to "providers"}}Providers{{/link-to}}</li>
        {{/if}}
        {{#if (eq model.provider.memberType "consortium_organization")}}
          <li class="breadcrumb-item">{{#link-to "providers.show.index" model.provider.consortiumLead.id}}{{model.provider.consortiumLead.name}}{{/link-to}}</li>
        {{/if}}
        <li class="breadcrumb-item">{{#link-to "providers.show" model.provider.id}}{{model.provider.name}}{{/link-to}}</li>
        <li class="breadcrumb-item">{{#link-to "providers.show.clients" model.provider.id}}Clients{{/link-to}}</li>
      </ol>
    {{/if}}

    <div id="show">
      {{#if model.repository}}
        <div class="pull-right">
          <a href="https://doi.org/{{model.repository.id}}"><img class="img-responsive" src="{{model.badgeUrl}}"></a>
        </div>
      {{/if}}

      <h2 class="work">{{model.name}}{{#if (not model.isActive)}} <span class="small icon-warning">account not active</span>{{/if}}</h2>

      <div class="tab-content nav-tabs-member">
        {{#bs-nav type="tabs" as |nav|}}
          {{#nav.item}}{{#nav.link-to "clients.show.index" model.id class="nav-link"}}Info{{/nav.link-to}}{{/nav.item}}
          {{#nav.item}}{{#nav.link-to "clients.show.settings" model.id class="nav-link"}}Settings{{/nav.link-to}}{{/nav.item}}
          {{#nav.item}}{{#nav.link-to "clients.show.prefixes" model.id class="nav-link"}}Prefixes{{/nav.link-to}}{{/nav.item}}
          {{#nav.item}}{{#nav.link-to "clients.show.dois" model.id class="nav-link doi"}}DOIs{{/nav.link-to}}{{/nav.item}}
        {{/bs-nav}}
      </div>
    </div>

    {{outlet}}
  </div>
{{else}}
  {{application-header}}
  {{landing-page}}
{{/if}}
{'fraction_non_alphanumeric': 0.24780058651026393, 'fraction_numerical': 0.0009775171065493646, 'mean_word_length': 3.368196371398079, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 2, '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': '4014784', 'n_tokens_mistral': 1496, 'n_tokens_neox': 1453, 'n_words': 203}