2024-09-07 15:40:37 -07:00
|
|
|
<a href="{{webPath `/manage/filters/`}}">Back to filter list</a> |
|
|
|
|
<a href="{{webPath `/manage/filters/`}}?edit={{$.filterID}}">Edit filter</a><br/>
|
|
|
|
{{- with .hits -}}
|
|
|
|
{{if eq $.staff.Rank 3 -}}
|
|
|
|
<form action="{{webPath `/manage/filters/hits`}}/{{$.filterID}}" method="POST">
|
|
|
|
<input type="submit" name="clearhits" value="Clear hits" onclick="return confirm('Are you sure you want to clear this filter\'s hits?')" />
|
|
|
|
</form>
|
|
|
|
{{- end}}
|
2024-08-28 21:54:10 -07:00
|
|
|
<table class="mgmt-table filterhitslist">
|
2024-08-28 21:50:39 -07:00
|
|
|
<colgroup>
|
|
|
|
<col class="row-date">
|
|
|
|
<col class="match-data">
|
|
|
|
</colgroup>
|
2024-09-07 15:40:37 -07:00
|
|
|
<tr><th>Match time</th><th>Post data</th></tr>
|
|
|
|
{{- range $h, $hit := . -}}
|
|
|
|
<tr><td>{{formatTimestamp $hit.MatchTime}}</td><td>{{index $.hitsJSON $h}}</td></tr>
|
|
|
|
{{- end -}}
|
2024-08-25 16:59:25 -07:00
|
|
|
</table>
|
2024-09-07 15:40:37 -07:00
|
|
|
{{- else}}<i>No hits</i>{{end}}
|