<commit_before><div class="modal-content">
  <div class="modal-header">
    <h5 id="divinebonusDesc" translate>Divine Bonus</h5>
    <button type="button" class="btn-close" data-bs-dismiss="modal" 
            aria-label="Close"></button>
  </div>
  <div class="modal-body">
    <div class="alert alert-success" role="alert"
         *ngIf="divineBonus.error > 0" translate>
      Divine Bonus validated
    </div>
    
    <table class="table" aria-describedby="divinebonusDesc">
      <tr *ngFor="let bonus of divineBonusList">
        <td class="col-2">
          <div>
            <ew-icon name="{{ EwIcon.getDivineBonus(bonus.bonus_id) }}"></ew-icon>
            <div  class="badge bg-secondary">{{ bonus.nb }}</div>
          </div>
        </td>
        <th scope="row">
          <id-to-divinebonus [id]="bonus.bonus_id"></id-to-divinebonus>
        </th>
        <td>
          <button (click)="divineBonusUse(bonus.bonus_id)"
                  class="btn-primary"
                  translate>Use</button>
        </td>
      </tr>
    </table>
  </div>
  
  <div class="modal-footer">
    <button type="button" class="btn btn-secondary"
            data-bs-dismiss="modal" translate>Close</button>
  </div>
</div>
<commit_msg>Make the divine bonus list more user friendly<commit_after><div class="modal-content">
  <div class="modal-header">
    <h5 id="divinebonusDesc" translate>Divine Bonus</h5>
    <button type="button" class="btn-close" data-bs-dismiss="modal" 
            aria-label="Close"></button>
  </div>
  <div class="modal-body">
    <div class="alert alert-success" role="alert"
         *ngIf="divineBonus.error > 0" translate>
      Divine Bonus validated
    </div>
    
    <table class="table table-middle align-middle"
           aria-describedby="divinebonusDesc">
      <tbody>
        <tr *ngFor="let bonus of divineBonusList">
          <td class="col-2">
            <div>
              <ew-icon name="{{ EwIcon.getDivineBonus(bonus.bonus_id) }}"></ew-icon>
              <div class="badge bg-secondary">{{ bonus.nb }}</div>
            </div>
          </td>
          <th scope="row">
            <id-to-divinebonus [id]="bonus.bonus_id"></id-to-divinebonus>
          </th>
          <td>
            <button (click)="divineBonusUse(bonus.bonus_id)" type="button"
                    class="btn btn-primary" translate>Use</button>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
  
  <div class="modal-footer">
    <button type="button" class="btn btn-secondary"
            data-bs-dismiss="modal" translate>Close</button>
  </div>
</div>

{'fraction_non_alphanumeric': 0.16929588303193535, 'fraction_numerical': 0.0030781069642170067, 'mean_word_length': 2.2953105196451205, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 79, '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': '5450192', 'n_tokens_mistral': 873, 'n_tokens_neox': 857, 'n_words': 159}