<commit_before>!!!
%html
  %head
    %title
      - if @conference.title
        = @conference.title
      - else
        frab
      \- Conference Management

    = stylesheet_link_tag "application", "admin"
    = javascript_include_tag "application", "admin"
    = csrf_meta_tags
  %body
    .topbar
      .fill
        .container
          - if @conference and not @conference.new_record?
            = link_to @conference.title, conference_home_path, :class => "brand"
          - else
            = link_to "Welcome to frab", root_path, :class => "brand"
          %ul.nav
            - if @conference and not @conference.new_record?
              %li= link_to t("people", :default => "People"), people_path
              %li= link_to t("events", :default => "Events"), events_path
              %li= link_to t("reports", :default => "Reports"), reports_path
              %li
                - if @conference.call_for_papers
                  = link_to t("call for papers", :default => "Call for Papers"), call_for_papers_path
                - else
                  = link_to t("call for papers", :default => "Launch Call for Papers"), new_call_for_papers_path
              %li= link_to t("schedule", :default => "Schedule"), schedule_path
              - if can? :manage, :conference
                %li= link_to t("settings", :default => "Settings"), edit_conference_path
          %ul.nav.secondary-nav.pull-right
            - if Conference.count > 1
              %li.dropdown
                = link_to t("switch_conference", :default => "Switch Conference"), "#", :class => "dropdown-toggle"
                %ul.dropdown-menu
                  - Conference.all.each do |conference|
                    - unless @conference == conference
                      %li= link_to conference.acronym, conference_home_path(:conference_acronym => conference.acronym)
                  - if can? :manage, :conference
                    %li.divider/
                    %li= link_to "Create new conference", new_conference_path(:conference_acronym => nil)
            - elsif can? :manage, :conference_acronym
              %li= link_to "Create new conference", new_conference_path(:conference_acronym => nil)
            %li.dropdown
              = link_to t("show_account", :default => "Account"), "#", :class => "dropdown-toggle"
              %ul.dropdown-menu
                %li= link_to t("user_settings", :default => "Settings"), person_user_path(current_user.person)
                %li= link_to t("web-app-theme.logout", :default => "Logout"), session_path, :method => :delete
    .container
      .main-content
        = render 'shared/flash', :flash => flash
        = yield
    %footer.footer
      .container/<commit_msg>Fix footer HTML<commit_after>!!!
%html
  %head
    %title
      - if @conference.title
        = @conference.title
      - else
        frab
      \- Conference Management

    = stylesheet_link_tag "application", "admin"
    = javascript_include_tag "application", "admin"
    = csrf_meta_tags
  %body
    .topbar
      .fill
        .container
          - if @conference and not @conference.new_record?
            = link_to @conference.title, conference_home_path, :class => "brand"
          - else
            = link_to "Welcome to frab", root_path, :class => "brand"
          %ul.nav
            - if @conference and not @conference.new_record?
              %li= link_to t("people", :default => "People"), people_path
              %li= link_to t("events", :default => "Events"), events_path
              %li= link_to t("reports", :default => "Reports"), reports_path
              %li
                - if @conference.call_for_papers
                  = link_to t("call for papers", :default => "Call for Papers"), call_for_papers_path
                - else
                  = link_to t("call for papers", :default => "Launch Call for Papers"), new_call_for_papers_path
              %li= link_to t("schedule", :default => "Schedule"), schedule_path
              - if can? :manage, :conference
                %li= link_to t("settings", :default => "Settings"), edit_conference_path
          %ul.nav.secondary-nav.pull-right
            - if Conference.count > 1
              %li.dropdown
                = link_to t("switch_conference", :default => "Switch Conference"), "#", :class => "dropdown-toggle"
                %ul.dropdown-menu
                  - Conference.all.each do |conference|
                    - unless @conference == conference
                      %li= link_to conference.acronym, conference_home_path(:conference_acronym => conference.acronym)
                  - if can? :manage, :conference
                    %li.divider/
                    %li= link_to "Create new conference", new_conference_path(:conference_acronym => nil)
            - elsif can? :manage, :conference_acronym
              %li= link_to "Create new conference", new_conference_path(:conference_acronym => nil)
            %li.dropdown
              = link_to t("show_account", :default => "Account"), "#", :class => "dropdown-toggle"
              %ul.dropdown-menu
                %li= link_to t("user_settings", :default => "Settings"), person_user_path(current_user.person)
                %li= link_to t("web-app-theme.logout", :default => "Logout"), session_path, :method => :delete
    .container
      .main-content
        = render 'shared/flash', :flash => flash
        = yield
    %footer.footer
      .container
{'fraction_non_alphanumeric': 0.12214716085448238, 'fraction_numerical': 0.0003651634106262553, 'mean_word_length': 1.9967177242888403, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 45, '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': '2219381', 'n_tokens_mistral': 1575, 'n_tokens_neox': 1521, 'n_words': 363}