mirror of
https://github.com/go-gitea/gitea
synced 2024-11-21 16:51:02 +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
1 changed files with 26 additions and 24 deletions
|
@ -34,6 +34,7 @@
|
|||
</tr>
|
||||
{{end}}
|
||||
</tbody>
|
||||
{{ if .Notices }}
|
||||
<tfoot class="full-width">
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -61,6 +62,7 @@
|
|||
</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
{{ end }}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue