<commit_before><% provide :title, @project.title %>

<div class="project-title">
  <div class="row">
    <div class="col-xs-12">
      <strong><%= link_to 'Projects', projects_path %></strong> <i class="fa fa-angle-double-right"></i>
      <strong><%= @project.title %></strong>
      <h1><%= @project.title %></h1>
      <p><%= clean_html @project.description %></p>
      <hr>
      <div class="project-edit">
        <% if user_signed_in? %>
          <% if current_user.following?(@project) %>
            <% # custom_css_btn 'edit', 'fa fa-pencil-square-o', edit_project_path(@project) %>
            <%= link_to 'Edit Project Details', edit_project_path(@project) %>
            <hr>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
</div>

<div class="project-main">
  <div class="row no-gutter">
    <div class="project-main col-md-8">
      <ul class="nav nav-tabs">
        <li id="pitch" class="active">
          <a href="#pitch_content" data-toggle="tab">Home</a>
        </li>
        <li id="documents">
          <a href="#documents_list" data-toggle="tab">Documents (<%= @documents.roots.count %>)</a>
        </li>
        <li id="videos">
          <a href="#videos_list" data-toggle="tab">Videos (<%= @videos.count %>)</a>
        </li>
        <li id="activities">
          <a href="#activities_list" data-toggle="tab">Activity (<%= @stories.count %>)</a>
        </li>
      </ul>

      <!-- Tab panes -->
      <div class="tab-content" style="background: #fff;">
        <div class="tab-pane active" id="pitch_content">
          <div class="row">
            <div class="col-md-12">
              <img src="http://singularityhub.com/wp-content/uploads/2009/12/robot-cowboy-simon-dominic-brewer.jpg"
              style="width:100%;max-width:100%;margin-top:1em;margin-bottom:1em;">
              <p>
                <b>Video games have come a long way</b> from the days of the beep: full orchestras, surround sound, interactive music and large teams of people collaborating to bring you an amazing experience. Help us to document and share the historical changes in video game sound from the beep through to today.
              </p>
              <p>
                <b>Relive the moments of your childhood</b>, and hear the stories behind the songs and sounds of your favourite games from the people who created them.&nbsp;
              </p>
              <p>
                Help us to <b>give the composers and sound designers</b> throughout game history a chance to tell their own stories, to share the truly amazing things that they achieved.
              </p>
              <p>
                I've devoted over a decade of my life to documenting and sharing information about video game sound. I've published four books about game sound. I've played thousands of games and obsessed over the tiniest details in the technology. Now, I'd like to go out and "hand over the mic" to those people who worked on the games, and give them an opportunity to speak, to tell you in their own words about what they did and why. And <b>to give you</b> a glimpse of the fascinating stories I've heard that lurk behind your favourite games. It's time we gave these men and women the credit they deserve.
              </p>
              <p><b>We're going to be covering:</b></p>
              <p><b>Beep aims to be a 90-minute film, with lots of DVD-extras thrown in, and will include:</b></p>
              <ul>
                <li>interviews with as many great people as we can get to on 3 continents</li>
                <li>a complete history of the game sound from the Victorian mechanical arcades, pinball, and the arcades through to today's orchestral performances and full surround soundtracks</li>
                <li>
                the psychology of game sound
                </li>
                <li>behind the scenes making-of footage for sound effects, voice and music</li>
                <li>chiptunes and current uses of game sound technology outside games<br>
                </li>
                <li>the tools and techniques used to compose the music and sound <br>
                </li>
                <li>bonus material: You'll hear tips on how to get into the industry, and a tribute to Ryu Umemoto, with an interview with his friend <NAME><br>
                </li>
              </ul>
              <p>Much of what doesn't make it into the film <b>will be shared</b> <b>with our backers</b> on our website, so if you have a favourite composer, you can watch the whole interview! Entire interviews will also be transcribed in the accompanying book, so you can read the whole story.</p>
            </div>
          </div>
        </div>
        <div class="tab-pane" id="documents_list">
          <% if user_signed_in? %>
            <ul class="user-controls">
              <li><%= custom_css_btn 'new document', 'fa fa-file-text-o', new_project_document_path(project_id: @project.friendly_id) %></li>
              <% if current_user.following?(@project) %>
                
              <% end %>
            </ul>
          <% end %>
          <% unless @documents.empty? %>
            <h2>Related documents</h2>
            <ul class="listings">
              <% @documents.roots.each do |d| %>
                <li class="listings-item">
                  <% num_children = d.children.count %>
                  <strong><%= link_to d.title, project_document_path(@project, d) %></strong> <%= "(#{num_children})" if num_children > 0 %>
                  -
                  <i>created by <%= d.user.display_name %> <%= time_ago_in_words(d.created_at) %> ago</i>
                </li>
              <% end %>
            </ul>
          <% else %>
            <p style="margin-top: 20px;">No documents can be found for project <strong><%= @project.title %></strong></p>
          <% end %>
        </div>
        <div class="tab-pane" id="videos_list">
          <div class="row">
            <% if @videos.empty? %>
              <p style="margin-top: 20px;">No videos in project <strong><%= @project.title %></strong></p>
            <% else %>
              <div class="col-sm-12">
                <h4 id="video_contents"><%= @videos.first[:content] %></h4>
                <iframe id="ytplayer" type="text/html" width="480" height="320"
                        src="<%= video_embed_link(@videos.first) %>" frameborder="0"></iframe>
              </div>
              <div class="col-sm-12">
                <h2>List of Project videos</h2>
                <table class="table table-bordered table-striped table-hover table-condensed" style="margin-left: -15px; width: 100%;">
                  <tr>
                    <th>Video</th>
                    <th style="width: 80px;">Host</th>
                    <th style="width: 80px;">Published</th>
                  </tr>
                  <% @videos.each do |video| %>
                    <tr style="font-size: 85%">
                      <td><%= video_link(video) %></td>
                      <td><%= video[:author] %></td>
                      <td><%= video[:published].to_s(:db) %></td>
                    </tr>
                  <% end %>
                </table>
              </div>
            <% end %>
          </div>
        </div>
        <div class="tab-pane activity" id="activities_list">
          <%= render 'activity' %>
        </div>
      </div>
    </div>
    <div class="project-aside col-md-4">
      <div>
        <div class="doc-status-text">
          Status: <%= @project.status.upcase %><br>
          <%= "Created #{time_ago_in_words(@project.created_at)} ago" %> by <%= @project.user.display_name %>
        </div>

        <% if user_signed_in? && current_user.following?(@project) %>
            <%= custom_css_btn 'leave project', 'fa fa-star', unfollow_project_path(@project) %>
            <ul>
              <li class="hangout-btn">
                <%= render partial: 'hangouts/hangout_button', locals: {hangout_id: '', event_id: '', category: 'PairProgramming', project_id: @project.id, title: "PairProgramming on #{@project.title}"} %>
              </li>
            </ul>
          <% else %>
          <div class="btn-join">
            <%= custom_css_btn 'join project', 'fa fa-star-o', follow_project_path(@project) %>
          </div>
        <% end %>

        <% if @project.github_url.present? %>
          <p><i class="fa fa-github-alt fa-lg"></i>
            <%= link_to "#{@project.github_url.split('/').last} ", @project.github_url %>on GitHub</p>
        <% else %>
          <p><i class="fa fa-github-alt fa-lg"></i> not linked to GitHub</p>
        <% end %>

        <% if @project.pivotaltracker_url.present? %>
          <p><i class="fa fa-gear fa-lg"></i>
            <%= link_to "#{@project.title} ", @project.pivotaltracker_url %>on PivotalTracker</p>
        <% else %>
          <p><i class="fa fa-gear fa-lg"></i> not linked to PivotalTracker</p>
        <% end %>
      </div>

      <div><%= render 'members_list', members: @members %></div>

    </div>
  </div><commit_msg>project show template edits<commit_after><% provide :title, @project.title %>

<div class="project-title">
  <div class="row">
    <div class="col-xs-12">
      <strong><%= link_to 'Projects', projects_path %></strong> <i class="fa fa-angle-double-right"></i>
      <strong><%= @project.title %></strong>
      <h1><%= @project.title %></h1>
      <p><%= clean_html @project.description %></p>
      <hr>
      <div class="project-edit">
        <% if user_signed_in? %>
          <% if current_user.following?(@project) %>
            <% # custom_css_btn 'edit', 'fa fa-pencil-square-o', edit_project_path(@project) %>
            <%= link_to 'Edit Project Details', edit_project_path(@project) %>
            <ul>
              <li class="hangout-btn">
                <%= render partial: 'hangouts/hangout_button', locals: {hangout_id: '', event_id: '', category: 'PairProgramming', project_id: @project.id, title: "PairProgramming on #{@project.title}"} %>
              </li>
            </ul>
            <hr>
          <% end %>
        <% end %>
      </div>
    </div>
  </div>
</div>

<div class="project-main">
  <div class="row">
    <div class="project-main col-md-8">
      <ul class="nav nav-tabs">
        <li id="pitch" class="active">
          <a href="#pitch_content" data-toggle="tab">Home</a>
        </li>
        <li id="documents">
          <a href="#documents_list" data-toggle="tab">Documents (<%= @documents.roots.count %>)</a>
        </li>
        <li id="videos">
          <a href="#videos_list" data-toggle="tab">Videos (<%= @videos.count %>)</a>
        </li>
        <li id="activities">
          <a href="#activities_list" data-toggle="tab">Activity (<%= @stories.count %>)</a>
        </li>
      </ul>

      <!-- Tab panes -->
      <div class="tab-content" style="background: #fff;">
        <div class="tab-pane active" id="pitch_content">
          <div class="row">
            <div class="col-md-12">
              <img src="http://singularityhub.com/wp-content/uploads/2009/12/robot-cowboy-simon-dominic-brewer.jpg"
              style="width:100%;max-width:100%;margin-top:1em;margin-bottom:1em;">
              <p>
                <b>Video games have come a long way</b> from the days of the beep: full orchestras, surround sound, interactive music and large teams of people collaborating to bring you an amazing experience. Help us to document and share the historical changes in video game sound from the beep through to today.
              </p>
              <p>
                <b>Relive the moments of your childhood</b>, and hear the stories behind the songs and sounds of your favourite games from the people who created them.&nbsp;
              </p>
              <p>
                Help us to <b>give the composers and sound designers</b> throughout game history a chance to tell their own stories, to share the truly amazing things that they achieved.
              </p>
              <p>
                I've devoted over a decade of my life to documenting and sharing information about video game sound. I've published four books about game sound. I've played thousands of games and obsessed over the tiniest details in the technology. Now, I'd like to go out and "hand over the mic" to those people who worked on the games, and give them an opportunity to speak, to tell you in their own words about what they did and why. And <b>to give you</b> a glimpse of the fascinating stories I've heard that lurk behind your favourite games. It's time we gave these men and women the credit they deserve.
              </p>
              <p><b>We're going to be covering:</b></p>
              <p><b>Beep aims to be a 90-minute film, with lots of DVD-extras thrown in, and will include:</b></p>
              <ul>
                <li>interviews with as many great people as we can get to on 3 continents</li>
                <li>a complete history of the game sound from the Victorian mechanical arcades, pinball, and the arcades through to today's orchestral performances and full surround soundtracks</li>
                <li>
                the psychology of game sound
                </li>
                <li>behind the scenes making-of footage for sound effects, voice and music</li>
                <li>chiptunes and current uses of game sound technology outside games<br>
                </li>
                <li>the tools and techniques used to compose the music and sound <br>
                </li>
                <li>bonus material: You'll hear tips on how to get into the industry, and a tribute to <NAME>, with an interview with his friend <NAME><br>
                </li>
              </ul>
              <p>Much of what doesn't make it into the film <b>will be shared</b> <b>with our backers</b> on our website, so if you have a favourite composer, you can watch the whole interview! Entire interviews will also be transcribed in the accompanying book, so you can read the whole story.</p>
            </div>
          </div>
        </div>
        <div class="tab-pane" id="documents_list">
          <% if user_signed_in? %>
            <ul class="user-controls">
              <li><%= custom_css_btn 'new document', 'fa fa-file-text-o', new_project_document_path(project_id: @project.friendly_id) %></li>
              <% if current_user.following?(@project) %>
                
              <% end %>
            </ul>
          <% end %>
          <% unless @documents.empty? %>
            <h2>Related documents</h2>
            <ul class="listings">
              <% @documents.roots.each do |d| %>
                <li class="listings-item">
                  <% num_children = d.children.count %>
                  <strong><%= link_to d.title, project_document_path(@project, d) %></strong> <%= "(#{num_children})" if num_children > 0 %>
                  -
                  <i>created by <%= d.user.display_name %> <%= time_ago_in_words(d.created_at) %> ago</i>
                </li>
              <% end %>
            </ul>
          <% else %>
            <p style="margin-top: 20px;">No documents can be found for project <strong><%= @project.title %></strong></p>
          <% end %>
        </div>
        <div class="tab-pane" id="videos_list">
          <div class="row">
            <% if @videos.empty? %>
              <p style="margin-top: 20px;">No videos in project <strong><%= @project.title %></strong></p>
            <% else %>
              <div class="col-sm-12">
                <h4 id="video_contents"><%= @videos.first[:content] %></h4>
                <iframe id="ytplayer" type="text/html" width="480" height="320"
                        src="<%= video_embed_link(@videos.first) %>" frameborder="0"></iframe>
              </div>
              <div class="col-sm-12">
                <h2>List of Project videos</h2>
                <table class="table table-bordered table-striped table-hover table-condensed" style="margin-left: -15px; width: 100%;">
                  <tr>
                    <th>Video</th>
                    <th style="width: 80px;">Host</th>
                    <th style="width: 80px;">Published</th>
                  </tr>
                  <% @videos.each do |video| %>
                    <tr style="font-size: 85%">
                      <td><%= video_link(video) %></td>
                      <td><%= video[:author] %></td>
                      <td><%= video[:published].to_s(:db) %></td>
                    </tr>
                  <% end %>
                </table>
              </div>
            <% end %>
          </div>
        </div>
        <div class="tab-pane activity" id="activities_list">
          <%= render 'activity' %>
        </div>
      </div>
    </div>
    <div class="project-aside col-md-4">
      <div class="project-highlight-box">
        <div class="doc-status-text">
          Status: <%= @project.status.upcase %><br>
          <%= "Created #{time_ago_in_words(@project.created_at)} ago" %> by <%= @project.user.display_name %>
        </div>

        <% if @project.github_url.present? %>
          <p><i class="fa fa-github-alt fa-lg"></i>
            <%= link_to "#{@project.github_url.split('/').last} ", @project.github_url %>on GitHub</p>
        <% else %>
          <p><i class="fa fa-github-alt fa-lg"></i> not linked to GitHub</p>
        <% end %>

        <% if @project.pivotaltracker_url.present? %>
          <p><i class="fa fa-gear fa-lg"></i>
            <%= link_to "#{@project.title} ", @project.pivotaltracker_url %>on PivotalTracker</p>
        <% else %>
          <p><i class="fa fa-gear fa-lg"></i> not linked to PivotalTracker</p>
        <% end %>
        
        <% if user_signed_in? && current_user.following?(@project) %>
            <%= custom_css_btn 'leave project', 'fa fa-star', unfollow_project_path(@project) %>
          <% else %>
          <div class="btn-join">
            <%= custom_css_btn 'join project', 'fa fa-star-o', follow_project_path(@project) %>
          </div>
        <% end %>
      </div>

      <div><%= render 'members_list', members: @members %></div>

    </div>
  </div>
{'fraction_non_alphanumeric': 0.14935386307396206, 'fraction_numerical': 0.006378883695353313, 'mean_word_length': 1.9618892508143322, 'pattern_counts': {'":': 0, '<': 508, '<?xml version=': 0, '>': 510, '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': '223627', 'n_tokens_mistral': 5656, 'n_tokens_neox': 5147, 'n_words': 1543}