Add option to add description to abuse report
This commit is contained in:
@@ -99,6 +99,14 @@ let set_status = async (action, report_type) => {
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{#if user_report.description !== ""}
|
||||
<tr>
|
||||
<td>Description</td>
|
||||
<td colspan="4" style="white-space: pre;">
|
||||
{user_report.description}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/each}
|
||||
</table>
|
||||
</div>
|
||||
|
@@ -160,9 +160,8 @@ onMount(() => {
|
||||
<div class="toolbar" style="text-align: left;">
|
||||
<div>Reports: {reports.length}</div>
|
||||
<div class="toolbar_spacer"></div>
|
||||
<div>Start:</div>
|
||||
<div>Range:</div>
|
||||
<input type="date" bind:this={startPicker}/>
|
||||
<div>End:</div>
|
||||
<input type="date" bind:this={endPicker}/>
|
||||
<button on:click={get_reports}>Go</button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user