<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <%= csrf_meta_tag %>
  <title><%=t :project %>: <%= @project.name %><%= " / #{@section.name}" if @section %></title>
  <%= stylesheet_link_tag 'application' %>
	<link rel="shortcut icon" href="<%= path_to_image 'favicon.png' %>" type="image/x-icon" />
</head>
<body>
  <% content_for :header do %><%= @project.name  %>
    <div id="nav_projects">
      <span><%= t :".switch_to_project" %></span>
      <ul>
        <% current_user.projects.active(:limit => 10).each do |project| %>
        <li><%= link_to project.name, [project, :sections], :class => @project == project && "selected" %></li>
        <% end %>
        <li><%= link_to t(:".all_projects"), root_path %></li>
      </ul>
    </div>
  <% end %>
  <%= render "shared/header" %>
  <nav id="nav_main">
		<div class="tooltip" style="display: none;">
			<div class="arrow"></div>
			<div class="actions"><%= t(:'.new_section') %></div>
		</div>
		<a href="#" id="notify_badge" style="display: none;">1</a>
    <%= link_to '', [@project, :sections], :id => "goto_dashboard", :title => t(:".goto_dashboard")  %>
		<div id="nav_sections">
    	<ul data-sortable="<%= reorder_project_sections_path(@project.id) %>">
	      <% @project.sections.unarchived.each do |section| %>
	        <%= new_section_link(section) %>
	        <% content_tag_for(:li, section) do %>
	            <%= link_to h(section.name), section, :class => @section == section ? "selected" : nil %>
	        <% end %>
	      <% end %>
	      <%= new_section_link %>
	      <li id="new_section" style="display:none;">
	        <% form_for [@project, Section.new], :html => {:id => nil} do |form|  %>
	          <%= form.text_field :name, :autocomplete => "off", :placeholder => Section.human_attribute_name(:name) %>
	          <%= form.hidden_field :insert_before %>
	          <%= form.submit t(:create) %>
	          <input type="button" value="<%= t(:cancel) %>" />
	        <% end %>
	      </li>
	    </ul>
		</div>
    <div id="nav_more_sections">
      <% if @project.sections.archived[0] %>
        <span title="<%=t :'.archived_sections' %>"></span>
        <ul>
          <% @project.sections.archived.each do |section| %>
          <li><%= link_to section.name, section, :class => @section == section && 'selected' %></li>
          <% end %>
        </ul>
      <% end %>
    </div>
  </nav>
  <section>
    <article id="<%= "#{controller_name}_#{action_name}" %>">
      <%= yield %>
    </article>
    <aside id="section_aside" data-update-path="<%= project_aside_index_path(@project) %>">
      <form id="live_search" action="<%= search_project_tasks_path(@project) %>" method="get">
        <input type="text" name="ss" value="" />
        <input type="submit" value="" />
        <%= image_tag "loader1.gif", :style => 'display: none;', :alt => current_user.full_name %>
        <ul style="display: none;"></ul>
      </form>
      <div id="user_card">
        <%= image_tag current_user.avatar.url %>
        <strong><%=h current_user.full_name %></strong>
				<%= link_to t(:".tasks", :count => current_user.responsibilities_count(@project.id)), [@project, :tasks] %>
        <% form_for [@project, Status.new], :html => {:class => "action_form tooltip", :style => "display: none;", "data-remote" => true} do |form| %>
          <div class="arrow"></div>
          <div class="form_content">
            <%= form.label :text, t(".status.label") %>
  			    <%= form.text_area :text  %>
  			    <p class="buttons">
  			      <%= form.submit t(".status.share") %>
  			      <input type="button" value="<%= t :cancel %>">
  			    </p>
  			  </div>
  			<% end %>
      </div>
      <div id="people_envolved">
        <h3>
          <%=t :".people_in_project" %>
          <!--
          <button class="list_extended"></button>
          <button class="list_images list_on"></button>
          -->
        </h3>
        <ul class="people_extended">
          <% @project.participants.each do |participant| %>
          <li title="<%=h participant.status %>">
            <%= image_tag participant.user.avatar.url(:aside), :alt => participant.user.full_name %>
            <span class="people_info">              
                <strong><%=h participant.user.full_name %></strong>
                <%=t :".last_activity", :time => time_ago_in_words(participant.user.last_active_at) %>
            </span>
          </li>
          <% end %>
        </ul>
      </div>
    </aside>
  </section>
  <%= render "shared/footer" %>
</body>
</html><commit_msg>show last user status in project people<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <%= csrf_meta_tag %>
  <title><%=t :project %>: <%= @project.name %><%= " / #{@section.name}" if @section %></title>
  <%= stylesheet_link_tag 'application' %>
	<link rel="shortcut icon" href="<%= path_to_image 'favicon.png' %>" type="image/x-icon" />
</head>
<body>
  <% content_for :header do %><%= @project.name  %>
    <div id="nav_projects">
      <span><%= t :".switch_to_project" %></span>
      <ul>
        <% current_user.projects.active(:limit => 10).each do |project| %>
        <li><%= link_to project.name, [project, :sections], :class => @project == project && "selected" %></li>
        <% end %>
        <li><%= link_to t(:".all_projects"), root_path %></li>
      </ul>
    </div>
  <% end %>
  <%= render "shared/header" %>
  <nav id="nav_main">
		<div class="tooltip" style="display: none;">
			<div class="arrow"></div>
			<div class="actions"><%= t(:'.new_section') %></div>
		</div>
		<a href="#" id="notify_badge" style="display: none;">1</a>
    <%= link_to '', [@project, :sections], :id => "goto_dashboard", :title => t(:".goto_dashboard")  %>
		<div id="nav_sections">
    	<ul data-sortable="<%= reorder_project_sections_path(@project.id) %>">
	      <% @project.sections.unarchived.each do |section| %>
	        <%= new_section_link(section) %>
	        <% content_tag_for(:li, section) do %>
	            <%= link_to h(section.name), section, :class => @section == section ? "selected" : nil %>
	        <% end %>
	      <% end %>
	      <%= new_section_link %>
	      <li id="new_section" style="display:none;">
	        <% form_for [@project, Section.new], :html => {:id => nil} do |form|  %>
	          <%= form.text_field :name, :autocomplete => "off", :placeholder => Section.human_attribute_name(:name) %>
	          <%= form.hidden_field :insert_before %>
	          <%= form.submit t(:create) %>
	          <input type="button" value="<%= t(:cancel) %>" />
	        <% end %>
	      </li>
	    </ul>
		</div>
    <div id="nav_more_sections">
      <% if @project.sections.archived[0] %>
        <span title="<%=t :'.archived_sections' %>"></span>
        <ul>
          <% @project.sections.archived.each do |section| %>
          <li><%= link_to section.name, section, :class => @section == section && 'selected' %></li>
          <% end %>
        </ul>
      <% end %>
    </div>
  </nav>
  <section>
    <article id="<%= "#{controller_name}_#{action_name}" %>">
      <%= yield %>
    </article>
    <aside id="section_aside" data-update-path="<%= project_aside_index_path(@project) %>">
      <form id="live_search" action="<%= search_project_tasks_path(@project) %>" method="get">
        <input type="text" name="ss" value="" />
        <input type="submit" value="" />
        <%= image_tag "loader1.gif", :style => 'display: none;', :alt => current_user.full_name %>
        <ul style="display: none;"></ul>
      </form>
      <div id="user_card">
        <%= image_tag current_user.avatar.url %>
        <strong><%=h current_user.full_name %></strong>
				<%= link_to t(:".tasks", :count => current_user.responsibilities_count(@project.id)), [@project, :tasks] %>
        <% form_for [@project, Status.new], :html => {:class => "action_form tooltip", :style => "display: none;", "data-remote" => true} do |form| %>
          <div class="arrow"></div>
          <div class="form_content">
            <%= form.label :text, t(".status.label") %>
  			    <%= form.text_area :text  %>
  			    <p class="buttons">
  			      <%= form.submit t(".status.share") %>
  			      <input type="button" value="<%= t :cancel %>">
  			    </p>
  			  </div>
  			<% end %>
      </div>
      <div id="people_envolved">
        <h3>
          <%=t :".people_in_project" %>
          <!--
          <button class="list_extended"></button>
          <button class="list_images list_on"></button>
          -->
        </h3>
        <ul class="people_extended">
          <% @project.participants.each do |participant| %>
          <li title="<%= participant.status && t(:".last_activity", :time => time_ago_in_words(participant.user.last_active_at)) %>">
            <%= image_tag participant.user.avatar.url(:aside), :alt => participant.user.full_name %>
            <span class="people_info">              
              <strong><%=h participant.user.full_name %></strong>
              <%= simple_format(h(participant.status)) || t(:".last_activity", :time => time_ago_in_words(participant.user.last_active_at)) %>
            </span>
          </li>
          <% end %>
        </ul>
      </div>
    </aside>
  </section>
  <%= render "shared/footer" %>
</body>
</html>
{'fraction_non_alphanumeric': 0.21517761033369215, 'fraction_numerical': 0.001722282023681378, 'mean_word_length': 2.637823022709475, 'pattern_counts': {'":': 0, '<': 293, '<?xml version=': 0, '>': 332, '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': '347011', 'n_tokens_mistral': 3373, 'n_tokens_neox': 3038, 'n_words': 586}