<commit_before>﻿@model List<ForumCategory>
@{
	ViewBag.Title = "Forums";
}
<div class="forumList">
	<h1>@ViewBag.Title</h1>
	<div class="options">
		<a rel="nofollow" href="@Url.Action("LatestAllTopics")">@Html.Img("~/images/iconrss.gif", "rss")</a>
	</div>
	@foreach (ForumCategory category in this.Model)
	{
		<h2>@category.Name</h2>
		<ul class="itemsHeader">
			<li class="name">Forum</li>
			<li class="topicCount">Replies</li>
			<li class="views">Views</li>
		</ul>
		<ul class="items">
		@foreach (Forum forum in category.Forums)
  {

			<li>
				<h3 class="name">
					@Html.ActionLink(forum.Name, "Detail", new { forum = forum.ShortName })
				</h3>
				<div class="topicCount">@forum.TopicCount <span class="label">thread@(forum.TopicCount != 1 ? "s" : "") </span></div>
				<div class="separator">/ </div>
				<div class="views">@forum.MessageCount <span class="label">post@(forum.MessageCount != 1 ? "s" : "") </span></div>
				<p class="description">@forum.Description</p>
			</li>
  }
		</ul>
	}
	@if (this.Model.Count == 0)
 {
		<p>No forums found. Create @Html.ActionLink("a forum", "Add").</p>
	 if (!ViewData.Get<bool>("IsSiteSet", true))
	 {
			<p style="padding-top:20px;"><em>Recommended: @Html.ActionLink("Check the website status", "StatusFirst", "Admin")</em></p>
		}
	}
</div><commit_msg>Fixed labels on Forum List view<commit_after>﻿@model List<ForumCategory>
@{
	ViewBag.Title = "Forums";
}
<div class="forumList">
	<h1>@ViewBag.Title</h1>
	<div class="options">
		<a rel="nofollow" href="@Url.Action("LatestAllTopics")">@Html.Img("~/images/iconrss.gif", "rss")</a>
	</div>
	@foreach (ForumCategory category in this.Model)
	{
		<h2>@category.Name</h2>
		<ul class="itemsHeader">
			<li class="name">Forum</li>
			<li class="topicCount">Topics</li>
			<li class="replies">Posts</li>
		</ul>
		<ul class="items">
		@foreach (Forum forum in category.Forums)
		{

			<li>
				<h3 class="name">
					@Html.ActionLink(forum.Name, "Detail", new { forum = forum.ShortName })
				</h3>
				<div class="topicCount">@forum.TopicCount <span class="label">thread@(forum.TopicCount != 1 ? "s" : "") </span></div>
				<div class="separator">/ </div>
				<div class="replies">@forum.MessageCount <span class="label">post@(forum.MessageCount != 1 ? "s" : "") </span></div>
				<p class="description">@forum.Description</p>
			</li>
		}
		</ul>
	}
	@if (this.Model.Count == 0)
	{
		<p>No forums found. Create @Html.ActionLink("a forum", "Add").</p>
		if (!ViewData.Get<bool>("IsSiteSet", true))
		{
			<p style="padding-top:20px;"><em>Recommended: @Html.ActionLink("Check the website status", "StatusFirst", "Admin")</em></p>
		}
	}
</div>
{'fraction_non_alphanumeric': 0.2257455643639109, 'fraction_numerical': 0.008305020762551907, 'mean_word_length': 4.408163265306122, 'pattern_counts': {'":': 0, '<': 91, '<?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': '1367911', 'n_tokens_mistral': 1123, 'n_tokens_neox': 1002, 'n_words': 180}