<commit_before><section class="header clearfix">
  <h1>{{#link-to "certificates"}}{{t 'certificatesPage.detail.header'}}{{/link-to}}</h1>
  {{action-menu model=model.certificate size="sm"}}
</section>

{{#if model.certificate.description}}
  <section>
    <div class="description">
      <label>{{t 'certificatesPage.detail.description'}}</label>
      <p>{{model.certificate.description}}</p>
    </div>
  </section>
{{/if}}

<section>
  <div class="row">
    <div class="row-same-height row-full-height">
      <div class="col span-6 col span-height col span-full-height col-top" style="margin-bottom: 20px;">
        <div class="no-padding-margin" style="height: 100%;">
          <div style="padding: 20px;">
            <label class="section">{{t 'certificatesPage.detail.info.labelText'}}</label>
            <div>
              <ul class="list-lines">
                <li>
                  <label>{{t 'certificatesPage.detail.info.valid'}}</label>
                  {{date-calendar model.certificate.issuedAt}} ({{date-from-now model.certificate.issuedDate}})
                </li>
                <li>
                  <label>{{t 'certificatesPage.detail.info.expires'}}</label>
                  <span class="{{if model.certificate.expiresSoon "text-bold text-danger"}}">
                    {{date-calendar model.certificate.expiresAt}}
                    ({{date-from-now model.certificate.expiresDate}})
                  </span>
                </li>
                <li class="force-wrap">
                  <label>{{t 'certificatesPage.detail.info.algorithm'}}</label>
                  {{model.certificate.algorithm}}{{#if model.certificate.keySize}} - {{model.certificate.keySize}} bits{{/if}}
                </li>
                <li class="force-wrap">
                  <label>{{t 'certificatesPage.detail.info.issuer'}}</label>
                  {{model.certificate.displayIssuer}}
                </li>
                <li class="force-wrap">
                  <label>{{t 'certificatesPage.detail.info.serialNumber'}}</label>
                  {{model.certificate.serialNumber}}
                </li>
                <li>
                  <label>{{t 'certificatesPage.detail.info.version'}}</label>
                  {{model.certificate.version}}
                </li>
              </ul>
            </div>
          </div>
        </div>
      </div>
      <div class="col span-6 col span-height col span-full-height col-top" style="margin-bottom: 20px;">
        <div class="no-padding-margin" style="height: 100%;">
          <div style="padding: 20px;">
            <label class="section">{{t 'certificatesPage.detail.domainNames.labelText'}}</label>
            <div>
              <ul class="list-unstyled">
                {{#if model.certificate.CN}}
                  <li><a href="https://{{model.certificate.CN}}" target="_blank">{{model.certificate.CN}}</a> (CN)</li>
                  {{#each model.certificate.displaySans as |san|}}
                    <li><a href="https://{{san}}" target="_blank">{{san}}</a></li>
                  {{/each}}
                {{else}}
                  <span class="text-muted">{{t 'generic.none'}}</span>
                {{/if}}
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</section><commit_msg>cert deets<commit_after><section class="header clearfix">
  <h1>{{#link-to "certificates"}}{{t 'certificatesPage.detail.header'}}{{/link-to}}</h1>
  <div class="right-buttons">{{action-menu model=model.certificate size="sm"}}</div>
</section>

<section>
  <div class="row">
    <div class="row-same-height row-full-height">
      <div class="col span-6 col span-height col span-full-height col-top" style="margin-bottom: 20px;">
        <div class="no-padding-margin" style="height: 100%;">
          <div>
            <label class="section">{{t 'certificatesPage.detail.info.labelText'}}:</label>
            <div>
              <div>
                <label>{{t 'certificatesPage.detail.info.valid'}}:</label>
                <div>{{date-calendar model.certificate.issuedAt}} ({{date-from-now model.certificate.issuedDate}})</div>
              </div>
              <div>
              <hr/>
                <label>{{t 'certificatesPage.detail.info.expires'}}:</label>
                <span class="{{if model.certificate.expiresSoon "text-bold text-danger"}}">
                  <div>{{date-calendar model.certificate.expiresAt}}
                  ({{date-from-now model.certificate.expiresDate}})</div>
                </span>
              </div>
              <hr/>
              <div class="force-wrap">
                <label>{{t 'certificatesPage.detail.info.algorithm'}}:</label>
                <div>{{model.certificate.algorithm}}{{#if model.certificate.keySize}} - {{model.certificate.keySize}} bits{{/if}}</div>
              </div>
              <hr/>
              <div class="force-wrap">
                <label>{{t 'certificatesPage.detail.info.issuer'}}:</label>
                <div>{{model.certificate.displayIssuer}}</div>
              </div>
              <hr/>
              <div class="force-wrap">
                <label>{{t 'certificatesPage.detail.info.serialNumber'}}:</label>
                <div>{{model.certificate.serialNumber}}</div>
              </div>
              <hr/>
              <div>
                <label>{{t 'certificatesPage.detail.info.version'}}:</label>
                <div>{{model.certificate.version}}</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="col span-6 box">
        {{#if model.certificate.description}}
          <section>
            <div class="description">
              <label>{{t 'certificatesPage.detail.description'}}</label>
              <p>{{model.certificate.description}}</p>
            </div>
          </section>
        {{/if}}
        <div class="no-padding-margin" style="height: 100%;">
          <div>
            <label class="section">{{t 'certificatesPage.detail.domainNames.labelText'}}</label>
            <div>
              <ul class="list-unstyled">
                {{#if model.certificate.CN}}
                  <li><a href="https://{{model.certificate.CN}}" target="_blank">{{model.certificate.CN}}</a> (CN)</li>
                  {{#each model.certificate.displaySans as |san|}}
                    <li><a href="https://{{san}}" target="_blank">{{san}}</a></li>
                  {{/each}}
                {{else}}
                  <span class="text-muted">{{t 'generic.none'}}</span>
                {{/if}}
              </ul>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
{'fraction_non_alphanumeric': 0.183849821215733, 'fraction_numerical': 0.004469606674612634, 'mean_word_length': 1.7947543713572023, 'pattern_counts': {'":': 0, '<': 176, '<?xml version=': 0, '>': 176, 'https://': 4, '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': '5508281', 'n_tokens_mistral': 2040, 'n_tokens_neox': 1896, 'n_words': 299}