<commit_before><script language="JavaScript" type="text/JavaScript"> 
function sendCommentId(e, text) 
{ 
  e.value = text + e.value
} 
</script>

<% @comments.each do |c|%>


	<div id="<%="comment"+c.id.to_s%>">
	<b><%= c.subject %></b> by <%if c.user != nil %><%= link_to c.user.name, c.user%><%else%>Deleted User<%end%> on <%= c.created_at %><br/>
	<div class="well">
	<a href="#" rel="comment_tooltip" title="<%if c.reply_to_id != -1 and c.reply_to_id != nil%><%if PhenotypeComment.find_by_id(c.reply_to_id).user != nil%><b><%=PhenotypeComment.find_by_id(c.reply_to_id).user.name%><%else%>Deleted User<%end%></b> wrote:"data-content="<%=PhenotypeComment.find_by_id(c.reply_to_id).comment_text%><%end%>"><% if c.reply_to_id != -1 and c.reply_to_id != nil%><%if PhenotypeComment.find_by_id(c.reply_to_id).user%>@<%=PhenotypeComment.find_by_id(c.reply_to_id).user.name%><%else%>@Deleted User<%end%><% end %></a>
	 <%if c.user != nil%><%=image_tag c.user.avatar.url(:head),:style => "vertical-align:middle;margin: 10px;float:left"%><%end%>  <%= simple_format(c.comment_text) %><br/><%=link_to_function "reply to", "sendCommentId(document.new_comment.phenotype_comment_comment_text,'@#"+c.id.to_s+": ')"%>
	</div>
</div>
<% end %>

<script type="text/javascript">
  $(document).ready(function () {
    $("[rel=comment_tooltip]").popover({placement:'right'});
  });
</script><commit_msg>link_to_function is deprecated. Remove function to get phenotypes page to load again, for now<commit_after><script language="JavaScript" type="text/JavaScript"> 
function sendCommentId(e, text) 
{ 
  e.value = text + e.value
} 
</script>

<% @comments.each do |c|%>


	<div id="<%="comment"+c.id.to_s%>">
	<b><%= c.subject %></b> by <%if c.user != nil %><%= link_to c.user.name, c.user%><%else%>Deleted User<%end%> on <%= c.created_at %><br/>
	<div class="well">
	<a href="#" rel="comment_tooltip" title="<%if c.reply_to_id != -1 and c.reply_to_id != nil%><%if PhenotypeComment.find_by_id(c.reply_to_id).user != nil%><b><%=PhenotypeComment.find_by_id(c.reply_to_id).user.name%><%else%>Deleted User<%end%></b> wrote:"data-content="<%=PhenotypeComment.find_by_id(c.reply_to_id).comment_text%><%end%>"><% if c.reply_to_id != -1 and c.reply_to_id != nil%><%if PhenotypeComment.find_by_id(c.reply_to_id).user%>@<%=PhenotypeComment.find_by_id(c.reply_to_id).user.name%><%else%>@Deleted User<%end%><% end %></a>
    <%if c.user != nil%><%=image_tag c.user.avatar.url(:head),:style => "vertical-align:middle;margin: 10px;float:left"%><%end%>  <%= simple_format(c.comment_text) %><br/><%=link_to "Reply to", "#", class: "reply_link"%>
	</div>
</div>
<% end %>

<script type="text/javascript">
  $(document).ready(function () {
    $("[rel=comment_tooltip]").popover({placement:'right'});
  });
</script>

{'fraction_non_alphanumeric': 0.2406474820143885, 'fraction_numerical': 0.0028776978417266188, 'mean_word_length': 6.495956873315364, 'pattern_counts': {'":': 1, '<': 89, '<?xml version=': 0, '>': 91, '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': '2129073', 'n_tokens_mistral': 1160, 'n_tokens_neox': 1114, 'n_words': 159}