<commit_before><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
  <title><%= page_title %> / <%= SETTINGS.organization %>: <%= SETTINGS.tagline %></title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta name="description" content="<%= SETTINGS.tagline %>" />

  <!-- Feeds -->
  <%= auto_discovery_link_tag(:atom, formatted_proposals_path(:atom), :title => "#{SETTINGS.organization}: Proposals feed") %>
  <% if admin? %>
    <%= auto_discovery_link_tag(:atom, formatted_comments_path(:atom, :secret => CommentsController::SECRET), :title => "#{SETTINGS.organization}: Proposals comments feed") %>
  <% end %>

  <!-- Stylesheets -->
  <% if localcss? %>
    <%= theme_stylesheet_link_tag 'common_css/osbp_common_v3.css' %>
  <% else %>
    <%= stylesheet_link_tag '/common/osbp_common_v3.css' %>
  <% end %>
  <%= theme_stylesheet_link_tag "custom" %>
  <%= yield :stylesheets %>

  <!-- Dynamic styles -->
  <% cache "layout,event_track_styles,event_#{current_event_cache_key}" do %>
    <% if event_tracks? && assigned_events %>
      <style type="text/css" media="screen">
        <%= render :partial => 'tracks/colors.css.erb', :locals => {:tracks => assigned_events.map(&:tracks_combined).flatten} %>
      </style>
    <% end %>
  <% end %>

  <!-- Scripts -->
  <%= javascript_include_tag 'jquery.min.js', 'jquery-ui.effects.core', 'jquery-ui.effects.highlight', 'application', :cache => 'cache/all' %>

  <%# TODO Add script and stylesheet yield blocks to other themes -%>
  <%= yield :scripts -%>

  <% expose_to_js( :current_user, current_user == :false ? false : current_user.id ) -%>
  <% expose_to_js( :authenticity_token, form_authenticity_token ) if protect_against_forgery? -%>

  <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
<%=       indent_block( yield(:javascript_expose_values), 3) -%>
<%=       indent_block( yield(:javascript_on_ready), 3) -%>
    });
  </script>
</head>

<body class='<%= "#{controller.controller_name} #{action_name}" %> <%= "#{controller.controller_name}_#{action_name}" %>'>
  <a name='top'></a>
  <div id="wrapper">
      <%= render :partial => "layouts/header" %>

      <div id="container">
        <div class='section_title'>
          <h2 class='event_level'><%= link_to subnav_title, subnav_path %></h2>
        </div>

        <div id="content">
          <h2 class='page_title'><%= page_title %></h2>

          <% if false %>
            <%# RB: temporarily removing breadcrumbs, pending improvement %>
            <div id="breadcrumbs">
              <% if @breadcrumbs %>
                <% @breadcrumbs[0..-2].each_with_index do |breadcrumb, i| %>
                   <% txt, path = breadcrumb %>
                   <% if i > 0 %>
                      &#187;
                   <% end %>
                   <%= link_to(h(txt), path) %>
                <% end %>
              <% end %>
            </div>
          <% end %>

          <!-- Display notices -->
          <%# flash[:success] = "This test is for testing the notifications." %>
          <%# flash[:failure] = "This test is for testing the notifications." %>
          <%# flash[:notice] = "This test is for testing the notifications." %>
          <%= notice %>

          <!-- Display view's content -->
          <%= yield %>
        </div><!-- content -->

        <div id="primary" class="sidebar">
          <ul class="xoxo">
            <% if logged_in? %>
              <li id="login-as">
                <%= render :partial => 'users/account_box' %>
                <ul>
                  <%= content_tag(:li, link_to( "My favorites", user_favorites_path(current_user) ),
                        :class => (controller.controller_name == 'user_favorites') ? 'active' : '' ) %>
                  <%= content_tag(:li, link_to( "My proposals", proposals_user_path(current_user) ),
                        :class => (controller.controller_name == 'users' && action_name == 'proposals') ? 'active' : '') %>
                  <% if display_submit_proposal_link? %>
                    <%= content_tag(:li, link_to( "Submit a proposal", new_event_proposal_path(assigned_event), :class => 'submit_a_proposal' )) %>
                  <% end -%>
                </ul>
              </li>

              <% if admin? %>
                <li class='administration'>
                  <h3>Administer</h3>
                  <ul>
                    <li>
                      <%= link_to "Events", manage_events_path %>
                      <% if assigned_event && ! assigned_event.new_record? %>
                        (<%= link_to "manage this event", manage_event_path(assigned_event) %>)
                        <ul>
                          <% if proposal_statuses? %>
                            <li><%= link_to "Sessions", event_sessions_path(assigned_event) %></li>
                          <% end %>
                          <li><%= link_to "Proposals", event_proposals_path(assigned_event) %>
                            (<%= link_to "Bulk edit", manage_event_proposals_path(assigned_event) %>)
                            <% unless assigned_event.accepting_proposals? %>
                              (<%= link_to "Add new", new_event_proposal_path(assigned_event) %>)
                            <% end %>
                            (<%= link_to "Export CSV", formatted_event_proposals_path(assigned_event,:csv) %>)
                          </li>
                          <% if event_tracks? %>
                            <li><%= link_to "Tracks", tracks_path %></li>
                          <% end %>
                          <% if event_session_types? %>
                            <li><%= link_to "Session types", session_types_path %></li>
                          <% end %>
                          <% if event_rooms? %>
                            <li><%= link_to "Rooms", rooms_path %></li>
                          <% end %>
                          <li><%= link_to "Schedule items", event_schedule_items_path(assigned_event) %></li>
                          <% if selector? %>
                            <li><%= link_to "Selector votes", event_selector_votes_path(assigned_event) %></li>
                          <% end %>
                        </ul>
                      <% end %>
                    </li>
                    <% if user_profiles? %>
                      <li><%= link_to "Users", users_path %></li>
                    <% end %>
                    <li><%= link_to "Snippets", manage_snippets_path %></li>
                    <li><%= link_to "Comments", comments_path %></li>
                  </ul>
                </li>
              <% end %><commit_msg>THEME: Add "Speakers" and their "Export CSV" sidebar link.<commit_after><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
  <title><%= page_title %> / <%= SETTINGS.organization %>: <%= SETTINGS.tagline %></title>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
  <meta name="description" content="<%= SETTINGS.tagline %>" />

  <!-- Feeds -->
  <%= auto_discovery_link_tag(:atom, formatted_proposals_path(:atom), :title => "#{SETTINGS.organization}: Proposals feed") %>
  <% if admin? %>
    <%= auto_discovery_link_tag(:atom, formatted_comments_path(:atom, :secret => CommentsController::SECRET), :title => "#{SETTINGS.organization}: Proposals comments feed") %>
  <% end %>

  <!-- Stylesheets -->
  <% if localcss? %>
    <%= theme_stylesheet_link_tag 'common_css/osbp_common_v3.css' %>
  <% else %>
    <%= stylesheet_link_tag '/common/osbp_common_v3.css' %>
  <% end %>
  <%= theme_stylesheet_link_tag "custom" %>
  <%= yield :stylesheets %>

  <!-- Dynamic styles -->
  <% cache "layout,event_track_styles,event_#{current_event_cache_key}" do %>
    <% if event_tracks? && assigned_events %>
      <style type="text/css" media="screen">
        <%= render :partial => 'tracks/colors.css.erb', :locals => {:tracks => assigned_events.map(&:tracks_combined).flatten} %>
      </style>
    <% end %>
  <% end %>

  <!-- Scripts -->
  <%= javascript_include_tag 'jquery.min.js', 'jquery-ui.effects.core', 'jquery-ui.effects.highlight', 'application', :cache => 'cache/all' %>

  <%# TODO Add script and stylesheet yield blocks to other themes -%>
  <%= yield :scripts -%>

  <% expose_to_js( :current_user, current_user == :false ? false : current_user.id ) -%>
  <% expose_to_js( :authenticity_token, form_authenticity_token ) if protect_against_forgery? -%>

  <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
<%=       indent_block( yield(:javascript_expose_values), 3) -%>
<%=       indent_block( yield(:javascript_on_ready), 3) -%>
    });
  </script>
</head>

<body class='<%= "#{controller.controller_name} #{action_name}" %> <%= "#{controller.controller_name}_#{action_name}" %>'>
  <a name='top'></a>
  <div id="wrapper">
      <%= render :partial => "layouts/header" %>

      <div id="container">
        <div class='section_title'>
          <h2 class='event_level'><%= link_to subnav_title, subnav_path %></h2>
        </div>

        <div id="content">
          <h2 class='page_title'><%= page_title %></h2>

          <% if false %>
            <%# RB: temporarily removing breadcrumbs, pending improvement %>
            <div id="breadcrumbs">
              <% if @breadcrumbs %>
                <% @breadcrumbs[0..-2].each_with_index do |breadcrumb, i| %>
                   <% txt, path = breadcrumb %>
                   <% if i > 0 %>
                      &#187;
                   <% end %>
                   <%= link_to(h(txt), path) %>
                <% end %>
              <% end %>
            </div>
          <% end %>

          <!-- Display notices -->
          <%# flash[:success] = "This test is for testing the notifications." %>
          <%# flash[:failure] = "This test is for testing the notifications." %>
          <%# flash[:notice] = "This test is for testing the notifications." %>
          <%= notice %>

          <!-- Display view's content -->
          <%= yield %>
        </div><!-- content -->

        <div id="primary" class="sidebar">
          <ul class="xoxo">
            <% if logged_in? %>
              <li id="login-as">
                <%= render :partial => 'users/account_box' %>
                <ul>
                  <%= content_tag(:li, link_to( "My favorites", user_favorites_path(current_user) ),
                        :class => (controller.controller_name == 'user_favorites') ? 'active' : '' ) %>
                  <%= content_tag(:li, link_to( "My proposals", proposals_user_path(current_user) ),
                        :class => (controller.controller_name == 'users' && action_name == 'proposals') ? 'active' : '') %>
                  <% if display_submit_proposal_link? %>
                    <%= content_tag(:li, link_to( "Submit a proposal", new_event_proposal_path(assigned_event), :class => 'submit_a_proposal' )) %>
                  <% end -%>
                </ul>
              </li>

              <% if admin? %>
                <li class='administration'>
                  <h3>Administer</h3>
                  <ul>
                    <li>
                      <%= link_to "Events", manage_events_path %>
                      <% if assigned_event && ! assigned_event.new_record? %>
                        (<%= link_to "manage this event", manage_event_path(assigned_event) %>)
                        <ul>
                          <% if proposal_statuses? %>
                            <li><%= link_to "Sessions", event_sessions_path(assigned_event) %></li>
                          <% end %>
                          <li><%= link_to "Proposals", event_proposals_path(assigned_event) %>
                            (<%= link_to "Bulk edit", manage_event_proposals_path(assigned_event) %>)
                            <% unless assigned_event.accepting_proposals? %>
                              (<%= link_to "Add new", new_event_proposal_path(assigned_event) %>)
                            <% end %>
                            (<%= link_to "Export CSV", formatted_event_proposals_path(assigned_event,:csv) %>)
                          </li>
                          <% if event_tracks? %>
                            <li><%= link_to "Tracks", tracks_path %></li>
                          <% end %>
                          <% if event_session_types? %>
                            <li><%= link_to "Session types", session_types_path %></li>
                          <% end %>
                          <% if event_rooms? %>
                            <li><%= link_to "Rooms", rooms_path %></li>
                          <% end %>
                          <li><%= link_to "Schedule items", event_schedule_items_path(assigned_event) %></li>
                          <% if user_profiles? %>
                            <li><%= link_to "Speakers", speakers_event_path(assigned_event) %>
                              (<%= link_to "Export CSV", formatted_speakers_event_path(assigned_event,:csv) %>)
                            </li>
                          <% end %>
                          <% if selector? %>
                            <li><%= link_to "Selector votes", event_selector_votes_path(assigned_event) %></li>
                          <% end %>
                        </ul>
                      <% end %>
                    </li>
                    <% if user_profiles? %>
                      <li><%= link_to "Users", users_path %></li>
                    <% end %>
                    <li><%= link_to "Snippets", manage_snippets_path %></li>
                    <li><%= link_to "Comments", comments_path %></li>
                  </ul>
                </li>
              <% end %>
{'fraction_non_alphanumeric': 0.1644978783592645, 'fraction_numerical': 0.004384724186704385, 'mean_word_length': 1.784757778653013, 'pattern_counts': {'":': 0, '<': 325, '<?xml version=': 0, '>': 351, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': 2}}
{'dir': 'git-commits-cleaned', 'id': '4730954', 'n_tokens_mistral': 4547, 'n_tokens_neox': 4015, 'n_words': 762}