<commit_before><%- content_for(:title) do -%>
  <%=h @project.title %>
<%- end -%>

<%- content_for(:extracss) do -%>
  <%= stylesheet_link_tag 'observations/by_login', 'observations/filters' %>
  <style type="text/css" media="screen">
    .observations.medium.grid .observation, .observations.medium.grid .photos, .observations.medium.grid .icon {
      width: 172px;
      height: 172px;
    }
  </style>
<% end %>

<%- content_for(:extrajs) do -%>
  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
  <%= javascript_include_tag 'inaturalist/map3' %>
<%- end -%>

<div id="pageheader" class="clear">
  <div class="breadcrumbs">
    <strong><%= link_to "&laquo #{h @project.title}".html_safe, @project, :class => 'crumb' %></strong>
  </div><!-- /#breadcrumbs -->
  <h2>
    <%= t(:contributions_from) link_to h(@contributor.user.login), observations_by_login_path(@contributor.user.login) %> to
    <% if @project.icon.file? -%>
      <%= image_tag @project.icon.url(:span1), :style => "vertical-align: middle" %>
    <% end -%>
    <%=h truncate @project.title, :length => 55 %>
  </h2>
</div>  
  
<div class="column span-18">
  <div id="observations">
    <% if @project_observations.blank? -%>
      <div class="description noresults">
        <%= link_to h(@contributor.user.login), observations_by_login_path(@contributor.user.login) %> 
        <%= t(:hasnt_contributed_any_observations) %>
      </div>
    <% else %>
      <div class="stacked observationcontrols"></div>
      <div class="medium observations grid">
        <% compact do %>
          <%= render :partial => "observations/cached_component", :collection => @project_observations.map{|po| po.observation}.compact %>
        <% end -%>
      </div>
      <script type="text/javascript" charset="utf-8">
        $('.observationcontrols').observationControls('medium')
      </script>
     <%= will_paginate @project_observations, :renderer => INatLinkRenderer %>
    <% end -%><commit_msg>Bugfix: projects/show_contributor wasn't globalized correctly.<commit_after><%- content_for(:title) do -%>
  <%=h @project.title %>
<%- end -%>

<%- content_for(:extracss) do -%>
  <%= stylesheet_link_tag 'observations/by_login', 'observations/filters' %>
  <style type="text/css" media="screen">
    .observations.medium.grid .observation, .observations.medium.grid .photos, .observations.medium.grid .icon {
      width: 172px;
      height: 172px;
    }
  </style>
<% end %>

<%- content_for(:extrajs) do -%>
  <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
  <%= javascript_include_tag 'inaturalist/map3' %>
<%- end -%>

<div id="pageheader" class="clear">
  <div class="breadcrumbs">
    <strong><%= link_to "&laquo #{h @project.title}".html_safe, @project, :class => 'crumb' %></strong>
  </div><!-- /#breadcrumbs -->
  <h2>
    <%= t(:contributions_from) %>
    <%= link_to h(@contributor.user.login), observations_by_login_path(@contributor.user.login) %> to
    <% if @project.icon.file? -%>
      <%= image_tag @project.icon.url(:span1), :style => "vertical-align: middle" %>
    <% end -%>
    <%=h truncate @project.title, :length => 55 %>
  </h2>
</div>  
  
<div class="column span-18">
  <div id="observations">
    <% if @project_observations.blank? -%>
      <div class="description noresults">
        <%= link_to h(@contributor.user.login), observations_by_login_path(@contributor.user.login) %> 
        <%= t(:hasnt_contributed_any_observations) %>
      </div>
    <% else %>
      <div class="stacked observationcontrols"></div>
      <div class="medium observations grid">
        <% compact do %>
          <%= render :partial => "observations/cached_component", :collection => @project_observations.map{|po| po.observation}.compact %>
        <% end -%>
      </div>
      <script type="text/javascript" charset="utf-8">
        $('.observationcontrols').observationControls('medium')
      </script>
     <%= will_paginate @project_observations, :renderer => INatLinkRenderer %>
    <% end -%>
{'fraction_non_alphanumeric': 0.19455348380765455, 'fraction_numerical': 0.007360157016683023, 'mean_word_length': 3.6488027366020526, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 110, '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': '6429315', 'n_tokens_mistral': 1479, 'n_tokens_neox': 1355, 'n_words': 232}