<commit_before>header
  h1
    = link_to 'Rails Girls Summer of Code', root_path

  nav.top
    ul
      /li = link_to 'Apply now',    apply_path
      li = link_to 'Activity',     root_path,  class: params[:controller] == 'activities' ? 'active' : ''
      li = link_to 'Teams',        teams_path, class: params[:controller] == 'teams' ? 'active' : ''
      li = link_to 'Participants', users_path, class: params[:controller] == 'users' ? 'active' : ''
      li = link_to 'Conferences',  conferences_path,  class: params[:controller] == 'conferences' ? 'active' : ''
      li = link_to 'Jobs',   job_offers_path,   class: params[:controller] == 'job_offers' ? 'active' : ''
      li = link_to 'Help',         page_path('help'), class: params[:page] == 'help' ? 'active' : ''
      - if signed_in? && current_user.roles.includes?('reviewer')
        li = link_to 'Applications', applications_path
      li = link_to 'Home &rarr;'.html_safe, 'http://railsgirlssummerofcode.org'

  nav.user
    - if signed_in?
      = "Signed in as #{link_to h(current_user.name), current_user} &middot; ".html_safe<commit_msg>Let navigation reflect current season's state<commit_after>header
  h1
    = link_to 'Rails Girls Summer of Code', root_path

  nav.top
    ul
      - if Time.now.utc >= (current_season.applications_open_at || Date.new)
        li = link_to 'Apply now',    apply_path
      li = link_to 'Activity',     root_path,  class: params[:controller] == 'activities' ? 'active' : ''
      li = link_to 'Teams',        teams_path, class: params[:controller] == 'teams' ? 'active' : ''
      li = link_to 'Community', users_path, class: params[:controller] == 'users' ? 'active' : ''
      - if Time.now.utc >= (current_season.applications_open_at || Date.new)
        li = link_to 'Conferences',  conferences_path,  class: params[:controller] == 'conferences' ? 'active' : ''
      - if Time.now.utc >= (current_season.applications_open_at || Date.new)
        li = link_to 'Jobs',   job_offers_path,   class: params[:controller] == 'job_offers' ? 'active' : ''
      li = link_to 'Help',         page_path('help'), class: params[:page] == 'help' ? 'active' : ''
      - if signed_in? && current_user.roles.includes?('reviewer')
        li = link_to 'Applications', applications_path
      li = link_to 'Home &rarr;'.html_safe, 'http://railsgirlssummerofcode.org'

  nav.user
    - if signed_in?
      = "Signed in as #{link_to h(current_user.name), current_user} &middot; ".html_safe
{'fraction_non_alphanumeric': 0.15424889246878776, 'fraction_numerical': 0.0008054772452678212, 'mean_word_length': 3.3350785340314135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '4650685', 'n_tokens_mistral': 839, 'n_tokens_neox': 826, 'n_words': 190}