generated from nhcarrigan/template
feat: add ability to log and display sanctions
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<h1>Sanctions</h1>
|
||||
<p>Here are the most recent moderation actions taken to keep our community safe.</p>
|
||||
<p>
|
||||
If you want to see the full history, check out our
|
||||
<a href="https://chat.nhcarrigan.com" target="_blank">chat server</a>.
|
||||
</p>
|
||||
<div class="sanction" *ngFor="let sanction of sanctions">
|
||||
<hr />
|
||||
<h2>Case #{{ sanction.number }}: {{ sanction.type.toUpperCase() }}</h2>
|
||||
<p>
|
||||
<span class="tag">{{sanction.platform}}</span>
|
||||
<span class="date"> {{ sanction.createdAt | date: "mediumDate" }}</span>
|
||||
</p>
|
||||
<p>{{ sanction.reason }}</p>
|
||||
<ul class="metadata">
|
||||
<li>Username: {{ sanction.username }}</li>
|
||||
<li>UUID: {{ sanction.uuid }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="no-sanctions" *ngIf="!sanctions.length">
|
||||
<p>There are no sanctions at this time.</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user