mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 19:08:08 +01:00
Don't display buttons if there are no system notifications (#4280)
* Don't display buttons if there are no notices * remove redundant gt check
This commit is contained in:
parent
e07d3ad0fc
commit
5bc8782d33
@ -34,6 +34,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
{{ if .Notices }}
|
||||||
<tfoot class="full-width">
|
<tfoot class="full-width">
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
@ -61,6 +62,7 @@
|
|||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
{{ end }}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user