mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-02 15:06:23 -07:00
Don't show the wordfilter table if there are none
This commit is contained in:
parent
fc882639d2
commit
7fbdc12b2c
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
</form>
|
</form>
|
||||||
<hr/>
|
<hr/>
|
||||||
<h2>Wordfilters</h2>
|
<h2>Wordfilters</h2>
|
||||||
|
{{if eq 0 (len .wordfilters)}}<i>No wordfilters</i>{{else -}}
|
||||||
<table width="100%" border="1">
|
<table width="100%" border="1">
|
||||||
<colgroup><col width="10%"><col width="10%"><col width="10%"><col width="5%"><col width="15%"><col width="10%"></colgroup>
|
<colgroup><col width="10%"><col width="10%"><col width="10%"><col width="5%"><col width="15%"><col width="10%"></colgroup>
|
||||||
<tr><th>Actions</th><th>Search</th><th>Replace with</th><th>Is regex</th><th>Dirs</th><th>Created by</th><th>Staff note</th></tr>
|
<tr><th>Actions</th><th>Search</th><th>Replace with</th><th>Is regex</th><th>Dirs</th><th>Created by</th><th>Staff note</th></tr>
|
||||||
|
@ -30,3 +31,4 @@
|
||||||
</tr>
|
</tr>
|
||||||
{{end -}}
|
{{end -}}
|
||||||
</table>
|
</table>
|
||||||
|
{{- end}}
|
Loading…
Add table
Add a link
Reference in a new issue