Browse Source

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

pull/30707/head
silverwind 1 week ago
parent
commit
839700b923
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      templates/repo/tag/list.tmpl

+ 2
- 0
templates/repo/tag/list.tmpl 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>

Loading…
Cancel
Save