From b4326d47985e253d1f0725759fe8ba2f4c2528d2 Mon Sep 17 00:00:00 2001 From: koko <68549366+sudokoko@users.noreply.github.com> Date: Wed, 8 Feb 2023 16:34:49 -0500 Subject: [PATCH] Link to reviewer in card and pad labels (#657) * Link to reviewer in card and pad labels * Update LICENSE to fill in placeholders The licensor placeholders at the bottom were left untouched so I filled in the information. * Revert LICENSE change * Update LICENSE --- .../Pages/Partials/ReviewPartial.cshtml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/ProjectLighthouse.Servers.Website/Pages/Partials/ReviewPartial.cshtml b/ProjectLighthouse.Servers.Website/Pages/Partials/ReviewPartial.cshtml index 3e91ffc2..0bd2b006 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Partials/ReviewPartial.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Partials/ReviewPartial.cshtml @@ -60,7 +60,9 @@ @faceAlt
-

@review.Reviewer?.Username

+ +

@review.Reviewer?.Username

+
@if (review.Deleted) { if (review.DeletedBy == DeletedBy.LevelAuthor) @@ -80,10 +82,12 @@ { @if (review.Labels.Length > 1) { - @foreach (string reviewLabel in review.Labels) - { -
@LabelHelper.TranslateTag(reviewLabel)
- } +
+ @foreach (string reviewLabel in review.Labels) + { +
@LabelHelper.TranslateTag(reviewLabel)
+ } +
} @if (string.IsNullOrWhiteSpace(review.Text)) {