<commit_before>

<div id="user-trusted-page" class="<%= "self-network" if @self %>">
	<div id="sidebar-left">
		<%= image_tag @person.avatar(:medium), :class => "thumb" %>
		<ul>
			<li class="all <%= params[:type].nil? ? "selected" : ""%>">
				<%= link_to 'All', network_person_path(@person) %>
			</li>
			<% unless @self %>
			<li class="all <%= (params[:type] == 'mutual') ? "selected" : ""%>">
				<%= link_to 'Mutual', network_person_path(@person, :type => 'mutual') %>
			</li>
			<!-- Temporarily removed
			<li class="extended <%= (params[:type] == 'extended') ? "selected" : ""%>">
				<%= link_to 'Extended', network_person_path(@person, :type => 'extended') %>
			</li>
			-->
			<li class="people <%= (params[:type] == 'other') ? "selected" : ""%>">
				<%= link_to 'Others', network_person_path(@person, :type => 'other') %>
			</li>
			<% end %>
		</ul>
	
	</div><!--	/sidebar-left	-->

	<div id="content">
	
		<div class="content-box-holder no-bg">
		
			<h2><%= @person.name %> <%= image_tag("arrow-right.png", :class => "", :alt => "")  %> Trusted Network</h2>
			<% unless @self %>
			<ul>
				<li class="clearfix">
					<%= in_network?(current_user.person, @person )%>
				</li>
			</ul>
			<% end %>
			
			
			<% if !@mutual_friends.empty? %>

			<div class="network-holder clearfix">	
			
				<div class="lhs">
					<ul>
						<% @mutual_friends.each do |p| -%>
						<li class="people-holder clearfix">
							<%= image_tag p.avatar(:small), :class => "thumb" %>
							<p>
								<%= link_to p.name, person_path(p)  %>
							</p>
						</li>
						<% end-%>
					</ul>
				</div>
			
				<div class="rhs clearfix">
					
					<%= image_tag("ic-trusted-net-others-green-large.png", :class => "icons", :alt => "Trusted Profile")  %>
					<h4><%= !@self ? "mutual networks" : "trusted network" %></h4>
					<p>
						<a href="#">
							<%= trusted_network = @person.mutural_friends_count(current_user.person) %>
						</a>
						<%= (trusted_network == 1) ? " person " : " people " %> in your <%= !@self ? "mutual" : "trusted" %> network
					</p>

				</div>
				
			</div><!-- /network-holder --><commit_msg>Changed icon from mutual to trusted<commit_after>

<div id="user-trusted-page" class="<%= "self-network" if @self %>">
	<div id="sidebar-left">
		<%= image_tag @person.avatar(:medium), :class => "thumb" %>
		<ul>
			<li class="all <%= params[:type].nil? ? "selected" : ""%>">
				<%= link_to 'All', network_person_path(@person) %>
			</li>
			<% unless @self %>
			<li class="all <%= (params[:type] == 'mutual') ? "selected" : ""%>">
				<%= link_to 'Mutual', network_person_path(@person, :type => 'mutual') %>
			</li>
			<!-- Temporarily removed
			<li class="extended <%= (params[:type] == 'extended') ? "selected" : ""%>">
				<%= link_to 'Extended', network_person_path(@person, :type => 'extended') %>
			</li>
			-->
			<li class="people <%= (params[:type] == 'other') ? "selected" : ""%>">
				<%= link_to 'Others', network_person_path(@person, :type => 'other') %>
			</li>
			<% end %>
		</ul>
	
	</div><!--	/sidebar-left	-->

	<div id="content">
	
		<div class="content-box-holder no-bg">
		
			<h2><%= @person.name %> <%= image_tag("arrow-right.png", :class => "", :alt => "")  %> Trusted Network</h2>
			<% unless @self %>
			<ul>
				<li class="clearfix">
					<%= in_network?(current_user.person, @person )%>
				</li>
			</ul>
			<% end %>
			
			
			<% if !@mutual_friends.empty? %>

			<div class="network-holder clearfix">	
			
				<div class="lhs">
					<ul>
						<% @mutual_friends.each do |p| -%>
						<li class="people-holder clearfix">
							<%= image_tag p.avatar(:small), :class => "thumb" %>
							<p>
								<%= link_to p.name, person_path(p)  %>
							</p>
						</li>
						<% end-%>
					</ul>
				</div>
			
				<div class="rhs clearfix">
					
					<%= image_tag(!@self ? "ic-trusted-net-others-green-large.png" : "ic-trusted-net-you-green.png", :class => "icons", :alt => "Trusted Profile")  %>
					<h4><%= !@self ? "mutual networks" : "trusted network" %></h4>
					<p>
						<a href="#">
							<%= trusted_network = @person.mutural_friends_count(current_user.person) %>
						</a>
						<%= (trusted_network == 1) ? " person " : " people " %> in your <%= !@self ? "mutual" : "trusted" %> network
					</p>

				</div>
				
			</div><!-- /network-holder -->
{'fraction_non_alphanumeric': 0.24469557195571956, 'fraction_numerical': 0.0023062730627306273, 'mean_word_length': 2.801051709027169, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 159, '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': '4648070', 'n_tokens_mistral': 2091, 'n_tokens_neox': 1582, 'n_words': 303}