<commit_before>﻿@inherits DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<ScienceDirectoryViewModel>
@using System.Collections.Generic
@using DotNetNuke.Collections
@using DotNetNuke.Web.Mvc.Helpers
@using DotNetNuke.Web.Client.ClientResourceManagement
@using DotNetNuke.Framework
@using DotNetNuke.Common
@using DotNetNuke.Common.Utilities
@using R7.University.Components
@using R7.University.ModelExtensions
@using R7.University.ViewModels
@using R7.University.Science.ViewModels
@{
    ClientResourceManager.RegisterStyleSheet (Dnn.DnnPage, "~/DesktopModules/MVC/R7.University/R7.University/css/module.css");
}
@if (Model.IsEmpty) {
    if (Dnn.ModuleContext.IsEditable) {
        <p class="dnnFormMessage dnnFormInfo">@Dnn.LocalizeString("NothingToDisplay.Text")</p>
    }
    else {
        var containerControl = Globals.FindControlRecursiveDown (Dnn.DnnPage, "ctr" + Dnn.ModuleContext.ModuleId);
        containerControl.Visible = false;
    }
}
else {
    <div class="table-responsive">
        <table class="table table-striped table-bordered table-hover u8y-science-directory" itemprop="eduNir">
            <thead>
			    @if (Dnn.ModuleContext.IsEditable) {
                    <th scope="col"></th>
                }
    		    <th scope="col">@Dnn.LocalizeString("ScienceCode.Column")</th>
    		    <th scope="col">@Dnn.LocalizeString("ScienceEduProgram.Column")</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceDirections.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceBase.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceScientists.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceStudents.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceMonographs.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceArticles.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("SciencePatents.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceCertificates.Column"))</th>
    		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceFinances.Column"))</th>
    	    </thead>
    	    <tbody>
        	    @foreach (var eps in Model.EduProgramScienceViewModels) {
                    <tr data-title="@FormatHelper.FormatEduProgramTitle(eps.Code, eps.Title)" class="@eps.CssClass">
				        @if (Dnn.ModuleContext.IsEditable) {
                            <td><a href="@eps.EditUrl"><img src="@UniversityIcons.Edit" /></a></td>
                        }
        			    <td itemprop="eduCode">@eps.Code</td>
        			    <td itemprop="eduName">@eps.Title</td>
    				    <td>@eps.DirectionsHtml</td>
    				    <td>@eps.BaseHtml</td>
                        <td>@eps.ScientistsHtml</td>
        				<td>@eps.StudentsHtml</td>
        				<td>@eps.MonographsHtml</td>
        				<td>@eps.ArticlesHtml</td>
        				<td>@eps.PatentsHtml</td>
        				<td>@eps.CertificatesHtml</td>
        				<td>@eps.FinancesHtml</td>
        			</tr>
                }
    		</tbody>
        </table><commit_msg>Fix table header missing TR tag<commit_after>﻿@inherits DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<ScienceDirectoryViewModel>
@using System.Collections.Generic
@using DotNetNuke.Collections
@using DotNetNuke.Web.Mvc.Helpers
@using DotNetNuke.Web.Client.ClientResourceManagement
@using DotNetNuke.Framework
@using DotNetNuke.Common
@using DotNetNuke.Common.Utilities
@using R7.University.Components
@using R7.University.ModelExtensions
@using R7.University.ViewModels
@using R7.University.Science.ViewModels
@{
    ClientResourceManager.RegisterStyleSheet (Dnn.DnnPage, "~/DesktopModules/MVC/R7.University/R7.University/css/module.css");
}
@if (Model.IsEmpty) {
    if (Dnn.ModuleContext.IsEditable) {
        <p class="dnnFormMessage dnnFormInfo">@Dnn.LocalizeString("NothingToDisplay.Text")</p>
    }
    else {
        var containerControl = Globals.FindControlRecursiveDown (Dnn.DnnPage, "ctr" + Dnn.ModuleContext.ModuleId);
        containerControl.Visible = false;
    }
}
else {
    <div class="table-responsive">
        <table class="table table-striped table-bordered table-hover u8y-science-directory" itemprop="eduNir">
            <thead>
			    <tr>
    			    @if (Dnn.ModuleContext.IsEditable) {
                        <th scope="col"></th>
                    }
        		    <th scope="col">@Dnn.LocalizeString("ScienceCode.Column")</th>
        		    <th scope="col">@Dnn.LocalizeString("ScienceEduProgram.Column")</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceDirections.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceBase.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceScientists.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceStudents.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceMonographs.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceArticles.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("SciencePatents.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceCertificates.Column"))</th>
        		    <th scope="col">@Html.Raw(Dnn.LocalizeString("ScienceFinances.Column"))</th>
				</tr>
    	    </thead>
    	    <tbody>
        	    @foreach (var eps in Model.EduProgramScienceViewModels) {
                    <tr data-title="@FormatHelper.FormatEduProgramTitle(eps.Code, eps.Title)" class="@eps.CssClass">
				        @if (Dnn.ModuleContext.IsEditable) {
                            <td><a href="@eps.EditUrl"><img src="@UniversityIcons.Edit" /></a></td>
                        }
        			    <td itemprop="eduCode">@eps.Code</td>
        			    <td itemprop="eduName">@eps.Title</td>
    				    <td>@eps.DirectionsHtml</td>
    				    <td>@eps.BaseHtml</td>
                        <td>@eps.ScientistsHtml</td>
        				<td>@eps.StudentsHtml</td>
        				<td>@eps.MonographsHtml</td>
        				<td>@eps.ArticlesHtml</td>
        				<td>@eps.PatentsHtml</td>
        				<td>@eps.CertificatesHtml</td>
        				<td>@eps.FinancesHtml</td>
        			</tr>
                }
    		</tbody>
        </table>
{'fraction_non_alphanumeric': 0.1552922590837283, 'fraction_numerical': 0.0022116903633491313, 'mean_word_length': 2.800120048019208, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '1215597', 'n_tokens_mistral': 2304, 'n_tokens_neox': 2098, 'n_words': 232}