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
This commit is contained in:
koko 2023-02-08 16:34:49 -05:00 committed by GitHub
commit b4326d4798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,9 @@
<img class="cardIcon slotCardIcon" src="@ServerConfiguration.Instance.ExternalUrl/gameAssets/@faceHash" alt="@faceAlt" title="@faceAlt" style="min-width: @(size)px; width: @(size)px; height: @(size)px">
</div>
<div class="cardStats">
<h3 style="margin-bottom: 5px;">@review.Reviewer?.Username</h3>
<a href="/user/@review.Reviewer?.UserId">
<h3 style="margin-bottom: 5px;">@review.Reviewer?.Username</h3>
</a>
@if (review.Deleted)
{
if (review.DeletedBy == DeletedBy.LevelAuthor)
@ -80,10 +82,12 @@
{
@if (review.Labels.Length > 1)
{
@foreach (string reviewLabel in review.Labels)
{
<div class="ui blue label">@LabelHelper.TranslateTag(reviewLabel)</div>
}
<div style="padding-bottom: 5px;">
@foreach (string reviewLabel in review.Labels)
{
<div class="ui blue label">@LabelHelper.TranslateTag(reviewLabel)</div>
}
</div>
}
@if (string.IsNullOrWhiteSpace(review.Text))
{