mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-07 12:28:39 +00:00
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:
parent
e056a5b437
commit
b4326d4798
1 changed files with 9 additions and 5 deletions
|
@ -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">
|
<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>
|
||||||
<div class="cardStats">
|
<div class="cardStats">
|
||||||
|
<a href="/user/@review.Reviewer?.UserId">
|
||||||
<h3 style="margin-bottom: 5px;">@review.Reviewer?.Username</h3>
|
<h3 style="margin-bottom: 5px;">@review.Reviewer?.Username</h3>
|
||||||
|
</a>
|
||||||
@if (review.Deleted)
|
@if (review.Deleted)
|
||||||
{
|
{
|
||||||
if (review.DeletedBy == DeletedBy.LevelAuthor)
|
if (review.DeletedBy == DeletedBy.LevelAuthor)
|
||||||
|
@ -80,10 +82,12 @@
|
||||||
{
|
{
|
||||||
@if (review.Labels.Length > 1)
|
@if (review.Labels.Length > 1)
|
||||||
{
|
{
|
||||||
|
<div style="padding-bottom: 5px;">
|
||||||
@foreach (string reviewLabel in review.Labels)
|
@foreach (string reviewLabel in review.Labels)
|
||||||
{
|
{
|
||||||
<div class="ui blue label">@LabelHelper.TranslateTag(reviewLabel)</div>
|
<div class="ui blue label">@LabelHelper.TranslateTag(reviewLabel)</div>
|
||||||
}
|
}
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
@if (string.IsNullOrWhiteSpace(review.Text))
|
@if (string.IsNullOrWhiteSpace(review.Text))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue