Remove points display from informational flags
Informational flags are context-only and don't affect the score, so displaying "0 pts" was redundant and confusing. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -435,7 +435,6 @@
|
||||
{
|
||||
<div class="alert alert-info mb-2">
|
||||
<strong>@flag.Title</strong>
|
||||
<span class="badge bg-info text-dark ms-2">-@flag.ScoreImpact pts</span>
|
||||
<p class="mb-0 mt-1 small">@flag.Description</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -197,7 +197,7 @@ public class PdfReportService
|
||||
col.Item().Text("Information").Bold().FontSize(10).FontColor(Colors.Blue.Darken1);
|
||||
foreach (var flag in infoFlags)
|
||||
{
|
||||
col.Item().PaddingTop(5).Text($"• {flag.Title} ({flag.ScoreImpact} pts)").FontSize(9).Bold();
|
||||
col.Item().PaddingTop(5).Text($"• {flag.Title}").FontSize(9).Bold();
|
||||
col.Item().Text($" {flag.Description}").FontSize(8).FontColor(Colors.Grey.Darken1);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user