mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-19 08:26:23 -07:00
19 lines
No EOL
774 B
HTML
19 lines
No EOL
774 B
HTML
<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}}
|
|
<table class="mgmt-table filterhitslist">
|
|
<colgroup>
|
|
<col class="row-date">
|
|
<col class="match-data">
|
|
</colgroup>
|
|
<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 -}}
|
|
</table>
|
|
{{- else}}<i>No hits</i>{{end}} |