<commit_before><% @title = @title || "#{:show_project_title.l}: #{@project.title}" %>

<% # List Projects | Edit Project %>
<%=
    tabs = [[:show_project_list_projects.l,
             url_for(:action => 'list_projects')]]
    tabs.push([:show_project_admin_request.l,
        url_for(:action => 'admin_request', :id => @project.id)])
    if check_permission(@project.user_id)
        tabs.push([:show_project_edit.l,
                   url_for(:action => 'edit_project', :id => @project.id)])
    end
    if @project.admin_group.users.member?(@user)
      tabs.push([:show_project_add_members.l,
                 url_for(:action => 'add_members', :id => @project.id)])
    end
    show_tabs tabs
%>

<div id="Title"><%= @title %></div>

<table cellpadding="10">
  <tr>
    <td valign="top">
      <p><%= "#{:show_project_created.l}: #{@project.created_at.to_formatted_s(:db)}"%></p>
      <p><%= "#{:show_project_by.l}: #{user_link(@project.user)}" %></p>
      <p><%= "#{:show_project_user_group.l}: #{@project.user_group.name}" %></p>
      <p><%= "#{:show_project_admin_group.l}: #{@project.admin_group.name}" %></p>
      <p><%= "#{:show_project_summary.l}: #{@project.summary}" %></p>

      <% if @user and @project.user_group.users.member?(@user) %>
        <%= render(:partial => 'show_groups', :locals => { :project => @project, :user => @user }) %>
      <% end %>
    </td>
    <td valign="top">
      <% for draft in @project.draft_names %>
        <%= link_to(textilize_without_paragraph(draft.name.display_name),
                    :action => "show_draft", :id => draft.id) %>
        (<%= user_link(draft.user) %>)
      <% end %>
    </td>
  </tr>
</table><commit_msg>Added textilize call to summary for show_project.<commit_after><% @title = @title || "#{:show_project_title.l}: #{@project.title}" %>

<% # List Projects | Edit Project %>
<%=
    tabs = [[:show_project_list_projects.l,
             url_for(:action => 'list_projects')]]
    tabs.push([:show_project_admin_request.l,
        url_for(:action => 'admin_request', :id => @project.id)])
    if check_permission(@project.user_id)
        tabs.push([:show_project_edit.l,
                   url_for(:action => 'edit_project', :id => @project.id)])
    end
    if @project.admin_group.users.member?(@user)
      tabs.push([:show_project_add_members.l,
                 url_for(:action => 'add_members', :id => @project.id)])
    end
    show_tabs tabs
%>

<div id="Title"><%= @title %></div>

<table cellpadding="10">
  <tr>
    <td valign="top">
      <p><%= "#{:show_project_created.l}: #{@project.created_at.to_formatted_s(:db)}"%></p>
      <p><%= "#{:show_project_by.l}: #{user_link(@project.user)}" %></p>
      <p><%= "#{:show_project_user_group.l}: #{@project.user_group.name}" %></p>
      <p><%= "#{:show_project_admin_group.l}: #{@project.admin_group.name}" %></p>
      <p><%= "#{:show_project_summary.l}: #{textilize(sanitize(@project.summary))}" %></p>

      <% if @user and @project.user_group.users.member?(@user) %>
        <%= render(:partial => 'show_groups', :locals => { :project => @project, :user => @user }) %>
      <% end %>
    </td>
    <td valign="top">
      <% for draft in @project.draft_names %>
        <%= link_to(textilize_without_paragraph(draft.name.display_name),
                    :action => "show_draft", :id => draft.id) %>
        (<%= user_link(draft.user) %>)
      <% end %>
    </td>
  </tr>
</table>
{'fraction_non_alphanumeric': 0.22193059200933216, 'fraction_numerical': 0.0011665208515602217, 'mean_word_length': 3.2555831265508686, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 101, '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': '2215200', 'n_tokens_mistral': 1277, 'n_tokens_neox': 1207, 'n_words': 191}