<commit_before>extends layout


mixin eventRowLang(lang,event)
  if (event[lang].filtered)
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=event.town
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=event.text
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=eventDateFormat(event,lang)
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=event.country
    td.hidden.lang.text-muted(class="lang-#{lang}")
      div.add-info
        |!{flag(event.country,calendarFlags)}
  else
    td.hidden.lang.text-primary(class="lang-#{lang}")=event[lang].town
    td.hidden.lang.text-primary(class="lang-#{lang}")=event.text
    td.hidden.lang.text-primary(class="lang-#{lang}")=eventDateFormat(event,lang)
    td.hidden.lang.text-primary(class="lang-#{lang}")
      div.add-info=event.country
    td.hidden.lang.text-primary(class="lang-#{lang}")
      |!{flag(event.country,calendarFlags)}


block content
  h1="New Calendar Tool"
  .row
    .col-md-4
      h4
        for lang in layout.activeLanguages
          span.add-info.label.label-default( class="lang+#{lang}" onclick="$('.lang').addClass('hidden');$('.lang-#{lang}').removeClass('hidden');")=lang
        span.label.label-default(  onclick="$('.add-info').toggle(1000);")="Draft/Final"
    .col-md-8
      for lang in layout.activeLanguages
        div.hidden.lang(class="lang-#{lang}")
          div.add-info
            p="Language = "+lang
            if eventsfilter[lang]<commit_msg>Added Help Text for calendar All Lang<commit_after>extends layout


mixin eventRowLang(lang,event)
  if (event[lang].filtered)
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=event.town
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=event.text
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=eventDateFormat(event,lang)
    td.hidden.lang.text-muted(class="lang-#{lang}")
      span.add-info=event.country
    td.hidden.lang.text-muted(class="lang-#{lang}")
      div.add-info
        |!{flag(event.country,calendarFlags)}
  else
    td.hidden.lang.text-primary(class="lang-#{lang}")=event[lang].town
    td.hidden.lang.text-primary(class="lang-#{lang}")=event.text
    td.hidden.lang.text-primary(class="lang-#{lang}")=eventDateFormat(event,lang)
    td.hidden.lang.text-primary(class="lang-#{lang}")
      div.add-info=event.country
    td.hidden.lang.text-primary(class="lang-#{lang}")
      |!{flag(event.country,calendarFlags)}


block content
  h1="New Calendar Tool"
  .row
    .col-md-4
      h4
        for lang in layout.activeLanguages
          span.add-info.label.label-default( class="lang+#{lang}" onclick="$('.lang').addClass('hidden');$('.lang-#{lang}').removeClass('hidden');")=lang
        span.label.label-default(  onclick="$('.add-info').toggle(1000);")="Draft/Final"
      p.osmbc-help-text="Click on language or Draft/Final to change view"
    .col-md-8
      for lang in layout.activeLanguages
        div.hidden.lang(class="lang-#{lang}")
          div.add-info
            p="Language = "+lang
            if eventsfilter[lang]
{'fraction_non_alphanumeric': 0.18726235741444866, 'fraction_numerical': 0.005069708491761723, 'mean_word_length': 3.403068340306834, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4091600', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1108, 'n_words': 119}