feat: merge event rankings and attribute badges into the page printer

Interview notes can print each student's ranked events and a shared attribute legend from the same catalog as the ranking index, without leftover table markup or collapsed answer space.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-30 23:03:10 -04:00
co-authored by Cursor
parent 3f50d6e635
commit 3712dba974
19 changed files with 817 additions and 118 deletions
@@ -313,6 +313,8 @@ else
yield return ("Layout", PrintFieldCatalog.Layout);
yield return ("Chapter", PrintFieldCatalog.Chapter);
yield return (_entityType.ToString(), PrintFieldCatalog.EntityTokens(_entityType));
if (_entityType == PrintEntityType.Student)
yield return ("Event ranks", PrintFieldCatalog.StudentRanks);
if (_entityType == PrintEntityType.Student && _importedTokenNames.Count > 0)
yield return ("Additional fields", _importedTokenNames);
}
+7 -8
View File
@@ -1,15 +1,14 @@
@using WebApp.Models
@using Core.Printing
@using WebApp.Models
<MudPaper>
<h3>Legend</h3>
<MudContainer>
<ul>
<li>@AppIcons.LevelOfEffortIcon(1) - Level of Effort </li>
<li>@AppIcons.IndividualEvent - Individual Event </li>
<li>@AppIcons.RegionalEvent - Regional </li>
<li>@AppIcons.OnSiteActivity - On-site Activity</li>
<li>@AppIcons.PresubmissionEvent - Pre-submission</li>
<li>@AppIcons.PresentationEvent - Interview Or Presentation</li>
@foreach (var mark in EventAttributeMarks.LegendItems)
{
<li>@mark.Symbol - @mark.Label</li>
}
</ul>
</MudContainer>
</MudPaper>
</MudPaper>