don't render anything in tag list if there are no tags

This commit is contained in:
silverwind 2024-04-26 11:02:53 +02:00
parent 41bd63b6e8
commit 839700b923
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<div class="ui container">
{{template "base/alert" .}}
{{template "repo/release_tag_header" .}}
{{if .Releases}}
<h4 class="ui top attached header">
<div class="five wide column tw-flex tw-items-center">
{{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.release.tags"}}
@ -57,6 +58,7 @@
</tbody>
</table>
</div>
{{end}}
{{template "base/paginate" .}}
</div>