Sfoglia il codice sorgente

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

pull/30707/head
silverwind 3 settimane fa
parent
commit
839700b923
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2
    0
      templates/repo/tag/list.tmpl

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