mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-05 09:06:20 +00:00
Merge main into mod-panel
This commit is contained in:
commit
b6da930e20
300 changed files with 8417 additions and 700 deletions
|
@ -52,7 +52,7 @@
|
|||
string style = "";
|
||||
if (Model.User?.UserId == comment.PosterUserId)
|
||||
{
|
||||
style = "visibility: hidden";
|
||||
style = "pointer-events: none";
|
||||
}
|
||||
}
|
||||
<div class="voting" style="@(style)">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
@using System.Globalization
|
||||
@using LBPUnion.ProjectLighthouse.Levels
|
||||
@using LBPUnion.ProjectLighthouse.PlayerData
|
||||
@using LBPUnion.ProjectLighthouse.Types
|
||||
@model LBPUnion.ProjectLighthouse.PlayerData.Photo
|
||||
|
||||
|
||||
|
@ -18,6 +19,27 @@
|
|||
<b>
|
||||
<a href="/user/@Model.Creator?.UserId">@Model.Creator?.Username</a>
|
||||
</b>
|
||||
@if (Model.Slot != null)
|
||||
{
|
||||
switch (Model.Slot.Type)
|
||||
{
|
||||
case SlotType.User:
|
||||
<span>
|
||||
in level <b><a href="/slot/@Model.SlotId">@Model.Slot.Name</a></b>
|
||||
</span>
|
||||
break;
|
||||
case SlotType.Developer:
|
||||
<span>in a story mode level</span>
|
||||
break;
|
||||
case SlotType.Pod:
|
||||
<span>in the pod</span>
|
||||
break;
|
||||
case SlotType.Local:
|
||||
<span>in a level on the moon</span>
|
||||
break;
|
||||
}
|
||||
}
|
||||
at @DateTime.UnixEpoch.AddSeconds(Model.Timestamp).ToString(CultureInfo.CurrentCulture)
|
||||
</i>
|
||||
</p>
|
||||
|
||||
|
@ -124,4 +146,4 @@
|
|||
context.setTransform(1, 0, 0, 1, 0, 0);
|
||||
})
|
||||
}, false);
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue