<commit_before><%#
### TITLE BOX
#%> 

<%- @title_box = capture do -%>
<p style="float:right; margin:20px; color:#999;"><%= last_login(@user) %></p>
<h1>
  <%= @user.display_name %>
  <em class='status'><%= h(@user.current_status) if @user.current_status %></em>
</h1>
<%- end -%>

<%#
### INFO BOX
#%> 

<%- @info_box = capture do -%>
  <%- length = @activities.size -%>
  <table class="columns">
    <tr>
      <td class="left">
        <%= header_with_more :h3, :dim, "Recent Activity".t %>
        <%= render :partial => 'activity/list', :locals => {:activities => @activities[0..((length+2)/2-1)]} %>
      </td>
      <td class="right">
        <%= render :partial => 'activity/list', :locals => {:activities => @activities[((length+2)/2)..(length-1)]} %>
        <%= header_with_more :h3, :dim, "Public Message Wall"[:wall_heading] %>
        <%= render :partial => 'messages/form' %>
      </td>
    </tr>
  </table>
<%- end -%>

<%#
### PAGES
#%>

<div class='section'>
  <%= header_with_more(:h2, :alert, "Recent Contributions".t, person_search_url('descending', 'updated_at')) %>
  <div class='page_scroll'>
    <%= render :partial => 'pages/list' %>
    <br/>
    <%= link_to :more.t + ARROW, person_search_url('descending', 'updated_at') %>
  </div>
</div>
<commit_msg>only display message form on person landing if may<commit_after><%#
### TITLE BOX
#%> 

<%- @title_box = capture do -%>
<p style="float:right; margin:20px; color:#999;"><%= last_login(@user) %></p>
<h1>
  <%= @user.display_name %>
  <em class='status'><%= h(@user.current_status) if @user.current_status %></em>
</h1>
<%- end -%>

<%#
### INFO BOX
#%> 

<%- @info_box = capture do -%>
  <%- length = @activities.size -%>
  <table class="columns">
    <tr>
      <td class="left">
        <%= header_with_more :h3, :dim, "Recent Activity".t %>
        <%= render :partial => 'activity/list', :locals => {:activities => @activities[0..((length+2)/2-1)]} %>
      </td>
      <td class="right">
        <%= render :partial => 'activity/list', :locals => {:activities => @activities[((length+2)/2)..(length-1)]} %>
        <%= header_with_more :h3, :dim, "Public Message Wall"[:wall_heading] %>
        <%- if may_create_messages? -%>
          <%= render :partial => 'messages/form' %>
        <%- end -%>
      </td>
    </tr>
  </table>
<%- end -%>

<%#
### PAGES
#%>

<div class='section'>
  <%= header_with_more(:h2, :alert, "Recent Contributions".t, person_search_url('descending', 'updated_at')) %>
  <div class='page_scroll'>
    <%= render :partial => 'pages/list' %>
    <br/>
    <%= link_to :more.t + ARROW, person_search_url('descending', 'updated_at') %>
  </div>
</div>

{'fraction_non_alphanumeric': 0.24596319939917385, 'fraction_numerical': 0.012767555388659407, 'mean_word_length': 3.410596026490066, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 97, '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': '2950197', 'n_tokens_mistral': 1083, 'n_tokens_neox': 996, 'n_words': 189}