<commit_before>.stripe.reverse
  .row
    .col
      %h2
        = @event.name
        %br
        %small #{humanize_date(@event.date_and_time, @event.ends_at, with_time: true)}

  .row
    .col
      %p.lead
        = @event.description.html_safe

  .row
    .col
      = render partial: 'event_actions'

.stripe.reverse
  .row
    = render partial: 'shared/venue', locals: { venue: @event.venue, address: @host_address}

  .row
    .col
      - if @event.announce_only
        %a{ name: "information" }
        %h3{ "data-magellan-destination" => "information"} Information
      - else
        %a{ name: "schedule" }
        %h3{ "data-magellan-destination" => "schedule"}
          = t('events.schedule')
      = dot_markdown(@event.schedule)

- if @event.show_faq?
  .stripe.reverse
    .row
      .col
        %a{ name: "faq" }
          %h2{ "data-magellan-destination" => "faq"}
            .text-center FAQ
        - if @event.announce_only
          %p.text-center If you have any questions, #{mail_to(@event.email, "get in contact")}

        - else
          = render partial: 'events/faq'

-if @event.sponsors?
  .stripe.reverse
    .row
      .col
        %a{ name: "sponsors" }
        %h2.text-center{ "data-magellan-destination" => "sponsors"}
          = t('events.sponsors')
        %p.text-center
          %i= t('events.thx_to_sponsors')
    .row.mt-4
      - if @event.sponsors?(:gold)
        %h3.text-center Gold
        = render partial: "sponsors", object: @event.gold_sponsors
      - if @event.sponsors?(:silver)
        %h3.text-center Silver
        = render partial: "sponsors", object: @event.silver_sponsors
      - if @event.sponsors?(:bronze)
        %h3.text-center Bronze
        = render partial: "sponsors", object: @event.bronze_sponsors
      - if @event.sponsors?(:standard)
        = render partial: "sponsors", object: @event.sponsors

- if @event.verified_coaches.any?
  .stripe.reverse
    .row
      .col
        %a{ name: "coaches" }
          %h2{ "data-magellan-destination" => "coaches"}
            .text-center= t('events.coaches')
    .row.mt-4
      .col-md-2.col-sm-3
        - @event.verified_coaches.each do |coach|
          =link_to twitter_url_for(coach.twitter), class: 'user-link' do
            =image_tag(coach.avatar(56), class: 'th radius', title: coach.full_name, alt: coach.full_name)
            %p.mt-3.mb-1= coach.full_name

- if @event.organisers.any?
  .stripe.reverse
    .row
      .col
        %a{ name: "organisers" }
          %h2{ "data-magellan-destination" => "organisers"}
            .text-center= t('events.organisers')
    .row.mt-4
      .col-sm-4.col-md-3.mb-4
        - @event.organisers.each do |organiser|
          =link_to twitter_url_for(organiser.twitter), class: 'user-link' do
            =image_tag(organiser.avatar(56), class: 'th radius', title: organiser.full_name, alt: organiser.full_name)
            %p.mt-3.mb-1= organiser.full_name
<commit_msg>Fixes event page Coaches and Organisers grids layout issues<commit_after>.stripe.reverse
  .row
    .col
      %h2
        = @event.name
        %br
        %small #{humanize_date(@event.date_and_time, @event.ends_at, with_time: true)}

  .row
    .col
      %p.lead
        = @event.description.html_safe

  .row
    .col
      = render partial: 'event_actions'

.stripe.reverse
  .row
    = render partial: 'shared/venue', locals: { venue: @event.venue, address: @host_address}

  .row
    .col
      - if @event.announce_only
        %a{ name: "information" }
        %h3{ "data-magellan-destination" => "information"} Information
      - else
        %a{ name: "schedule" }
        %h3{ "data-magellan-destination" => "schedule"}
          = t('events.schedule')
      = dot_markdown(@event.schedule)

- if @event.show_faq?
  .stripe.reverse
    .row
      .col
        %a{ name: "faq" }
          %h2{ "data-magellan-destination" => "faq"}
            .text-center FAQ
        - if @event.announce_only
          %p.text-center If you have any questions, #{mail_to(@event.email, "get in contact")}

        - else
          = render partial: 'events/faq'

-if @event.sponsors?
  .stripe.reverse
    .row
      .col
        %a{ name: "sponsors" }
        %h2.text-center{ "data-magellan-destination" => "sponsors"}
          = t('events.sponsors')
        %p.text-center
          %i= t('events.thx_to_sponsors')
    .row.mt-4
      - if @event.sponsors?(:gold)
        %h3.text-center Gold
        = render partial: "sponsors", object: @event.gold_sponsors
      - if @event.sponsors?(:silver)
        %h3.text-center Silver
        = render partial: "sponsors", object: @event.silver_sponsors
      - if @event.sponsors?(:bronze)
        %h3.text-center Bronze
        = render partial: "sponsors", object: @event.bronze_sponsors
      - if @event.sponsors?(:standard)
        = render partial: "sponsors", object: @event.sponsors

- if @event.verified_coaches.any?
  .container-fluid.stripe.reverse
    .row
      .col
        %h2.text-center
          = t('events.coaches')
    .row.mt-4.text-center
      .col-sm-4.col-md-3.mb-4
        - @event.verified_coaches.each do |coach|
          = link_to twitter_url_for(coach.twitter), class: 'user-link' do
            = image_tag(coach.avatar(56), class: 'rounded-circle', title: coach.full_name, alt: coach.full_name)
            %p.mt-3.mb-1= coach.full_name

- if @event.organisers.any?
  .container-fluid.stripe.reverse
    = render partial: 'members/organisers_grid', locals: { members: @event.organisers, show_info: false }

{'fraction_non_alphanumeric': 0.14538558786346398, 'fraction_numerical': 0.007946541448437781, 'mean_word_length': 2.1845888441633123, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '3604420', 'n_tokens_mistral': 1986, 'n_tokens_neox': 1922, 'n_words': 369}