<commit_before>{% import 'Core/Layout/Templates/Alerts.html.twig' as alerts %}

<!-- warning for people that don't have JS enabled -->
<noscript>
  {{ alerts.alert('danger', 'msg.EnableJavascript'|trans|raw, true) }}
</noscript>

<!-- Warning for people that still use IE7 or below -->
<!--[if lt IE 8 ]>
{{ alerts.alert('danger', 'msg.OldBrowser'|trans, true, 'ie') }}
<![endif]-->

<a href="#main" class="sr-only">{$lblSkipToContent|ucfirst}</a>

{% if not cookieBarHide %}
  <div id="cookieBar" class="cookiebar alert alert-fullwidth">
    <button type="button" class="close" data-dismiss="alert">×</button>
    <div class="container">
      <div class="d-flex justify-content-between">
        <p class="mb-0"><strong>{{ 'lbl.Warning'|trans|ucfirst }}:</strong> {{ 'msg.Cookies'|trans|raw }}</p>
        <div class="buttons">
          <a href="#" id="cookieBarAgree" class="btn btn-primary btn-sm">{{ 'lbl.IAgree'|trans|ucfirst }}</a>
          <a href="#" id="cookieBarDisagree" class="btn btn-primary btn-sm">{{ 'lbl.IDisagree'|trans|ucfirst }}</a>
        </div>
      </div>
    </div>
  </div>
{% endif %}
<commit_msg>Add new data attributes to make cookiebar actions work agian<commit_after>{% import 'Core/Layout/Templates/Alerts.html.twig' as alerts %}

<!-- warning for people that don't have JS enabled -->
<noscript>
  {{ alerts.alert('danger', 'msg.EnableJavascript'|trans|raw, true) }}
</noscript>

<!-- Warning for people that still use IE7 or below -->
<!--[if lt IE 8 ]>
{{ alerts.alert('danger', 'msg.OldBrowser'|trans, true, 'ie') }}
<![endif]-->

<a href="#main" class="sr-only">{$lblSkipToContent|ucfirst}</a>

{% if not cookieBarHide %}
  <div id="cookie-bar" class="cookiebar alert alert-fullwidth">
    <button type="button" class="close" data-dismiss="alert">×</button>
    <div class="container">
      <div class="d-flex justify-content-between">
        <p class="mb-0"><strong>{{ 'lbl.Warning'|trans|ucfirst }}:</strong> {{ 'msg.Cookies'|trans|raw }}</p>
        <div class="buttons">
          <a href="#" id="cookieBarAgree" data-role="cookie-bar-button" data-action="agree" class="btn btn-primary btn-sm">{{ 'lbl.IAgree'|trans|ucfirst }}</a>
          <a href="#" id="cookieBarDisagree" data-role="cookie-bar-button" data-action="disagree" class="btn btn-primary btn-sm">{{ 'lbl.IDisagree'|trans|ucfirst }}</a>
        </div>
      </div>
    </div>
  </div>
{% endif %}

{'fraction_non_alphanumeric': 0.2139592854175322, 'fraction_numerical': 0.0024927295388450354, 'mean_word_length': 4.090909090909091, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '1375701', 'n_tokens_mistral': 856, 'n_tokens_neox': 815, 'n_words': 183}