<div class="awemmy-chat">
  <div class="chat-roll-header">
    <div class="chat-roll-label">{{flavor}}</div>
  </div>

  {{#unless isPrivate}}
  <div class="roll-result">{{total}}</div>

  {{#if outcome}}
  <div class="outcome-badge {{outcome}}">
    {{#if (eq outcome "criticalSuccess")}}
      <i class="fa-solid fa-star"></i> {{localize "AWEMMY.Roll.CriticalSuccess"}}
    {{else if (eq outcome "success")}}
      <i class="fa-solid fa-circle-check"></i> {{localize "AWEMMY.Roll.Success"}}
    {{else if (eq outcome "failure")}}
      <i class="fa-solid fa-circle-xmark"></i> {{localize "AWEMMY.Roll.Failure"}}
    {{else if (eq outcome "criticalFailure")}}
      <i class="fa-solid fa-skull"></i> {{localize "AWEMMY.Roll.CriticalFailure"}}
    {{/if}}
  </div>
  {{/if}}
  {{else}}
  <div class="private-result">
    <i class="fa-solid fa-eye-slash"></i> Private Roll
  </div>
  {{/unless}}
</div>
