<commit_before><%- model_class = @user.class -%>
<div class="row">
	<div class="span10">
		<h1><%= t '.title', :login => @user.login %></h1>
		<br />
		<table class="table table-condensed table-striped">
			<tr>
				<th><%= t '.topics_count' %></th>
				<td><%= link_to @user.topics.count, user_topics_path(@user) %></td>
			</tr>
			<tr>
				<th><%= t '.messages_count' %></th>
				<td><%= link_to @user.messages.count, user_messages_path(@user)%></td>
			</tr>
			<tr>
				<th><%= t '.role' %></th>
				<td><%= @user.role_name %></td>
			</tr>
			<tr>
				<th><%= t '.custom_role' %></th>
				<td><%= @user.custom_role %></td>
			</tr>
			<tr>
				<th><%= t '.join_date' %></th>
				<td><%= ftime(@user.created_at) %></td>
			</tr>
			<tr>
				<th><%= t '.last_visit' %></th>
				<td><%= ftime(@user.current_login_at) %></td>
			</tr>
			<% if @current_user %>
			<% if @current_user.admin? %>
			<tr>
				<th><%= t '.email' %></th>
				<td><%= @user.email %></td>
			</tr>
			<tr>
				<th><%= t '.last_ip' %></th>
				<td><%= @user.current_login_ip %></td>
			</tr>
			<% end %>
			<% end %>
		</table>
	</div>
	<div class="span2">
		<img class="skin" src="http://www.minecraft.net/skin/<%= @user.login %>.png"/>
		<script type="text/javascript">
        renderMCSkins('skin', 4);
		</script>
	</div>
</div>
<commit_msg>Display and format user.current_login_at only if not nil<commit_after><%- model_class = @user.class -%>
<div class="row">
	<div class="span10">
		<h1><%= t '.title', :login => @user.login %></h1>
		<br />
		<table class="table table-condensed table-striped">
			<tr>
				<th><%= t '.topics_count' %></th>
				<td><%= link_to @user.topics.count, user_topics_path(@user) %></td>
			</tr>
			<tr>
				<th><%= t '.messages_count' %></th>
				<td><%= link_to @user.messages.count, user_messages_path(@user)%></td>
			</tr>
			<tr>
				<th><%= t '.role' %></th>
				<td><%= @user.role_name %></td>
			</tr>
			<tr>
				<th><%= t '.custom_role' %></th>
				<td><%= @user.custom_role %></td>
			</tr>
			<tr>
				<th><%= t '.join_date' %></th>
				<td><%= ftime(@user.created_at) %></td>
			</tr>
			<tr>
				<th><%= t '.last_visit' %></th>
				<td><%= ftime(@user.current_login_at) if @user.current_login_at %></td>
			</tr>
			<% if @current_user %>
			<% if @current_user.admin? %>
			<tr>
				<th><%= t '.email' %></th>
				<td><%= @user.email %></td>
			</tr>
			<tr>
				<th><%= t '.last_ip' %></th>
				<td><%= @user.current_login_ip %></td>
			</tr>
			<% end %>
			<% end %>
		</table>
	</div>
	<div class="span2">
		<img class="skin" src="http://www.minecraft.net/skin/<%= @user.login %>.png"/>
		<script type="text/javascript">
        renderMCSkins('skin', 4);
		</script>
	</div>
</div>

{'fraction_non_alphanumeric': 0.281767955801105, 'fraction_numerical': 0.004419889502762431, 'mean_word_length': 2.88, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 0, '>': 175, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1335950', 'n_tokens_mistral': 1397, 'n_tokens_neox': 1150, 'n_words': 239}