<div class="{{#unless app}}notification notification_general{{/unless}} {{classModifier}}">
  {{#if success}}
    <span class="icon notification__icon">
      <span class="fas fa-check-circle"></span>
    </span>
  {{/if}}
  {{#if warning}}
    <span class="icon notification__icon">
      <span class="fas fa-exclamation-circle"></span>
    </span>
  {{/if}}
  {{#if info}}
    <span class="icon notification__icon">
      <span class="fas fa-exclamation-circle"></span>
    </span>
  {{/if}}
  {{#if error}}
    <span class="icon notification__icon">
      <span class="fas fa-times-circle"></span>
    </span>
  {{/if}}
  {{#if reminder}}
    <span class="icon notification__icon">
      <i class="fas fa-user-hard-hat"></i>
    </span>
  {{/if}}

  {{#if title}}
    <div class="notification__wrap">
      <h4 class="title">{{{title}}}</h4>
      <p class="description">{{{text}}}</p>
    </div>
  {{else}}
    {{{text}}}
  {{/if}}

  {{#if additional-notifications}}
  <div class="accordion-notifications">
      <input class="accordion-notifications-item-input" type="checkbox" name="accordion-notifications" id="accordion-notifications" />
      <div class="accordion-notifications-list">
        <div class="additional-notifications">
        {{#each additional-list}}
          <p class="notification-item">{{{notification}}}</p>
        {{/each}}
        </div>
      </div>
      <label for="accordion-notifications" class="accordion-notifications-view-all">View all errors</label>
  </div>
  {{/if}}

  {{#if link}}
    <b>
      <a class="notification_link" href="#">Learn more</a>
    </b>
  {{/if}}
  {{#if angle-icon}}
    <i class="fas fa-angle-right"></i>
  {{/if}}
  {{#if withCloseBtn}}
    <span class="icon notification__close notification__close{{mod}}">
      <span class="fa{{#if bold}}s{{else}}r{{/if}} fa-times"></span>
    </span>
  {{/if}}
  {{#if withHideBtn}}
    <span class="icon notification__hide notification_accordion"
          data-toggle="collapse" data-target="#{{target-id}}">
            <span class="fa{{#if bold}}s{{else}}r{{/if}} fa-times"></span>
        </span>
  {{/if}}
</div>
