Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Parentheses for tag weight

Cette révision appartient à :
akuma06 2017-07-31 18:34:57 +02:00
Parent 1697542143
révision 088612bed3

Voir le fichier

@ -68,7 +68,7 @@
<td class="torrent-info-td torrent-info-label">{{ T("torrent_tags")}}:</td>
<td class="tr-flag torrent-view-td torrent-info-data">
{{ range Torrent.Tags}}
<span class="tag{{ if len(Torrent.Tags) > 5 }} big{{ end }}{{ if !.Accepted }} pending{{else}} accepted{{end}}" title="Tag: {{ .Type }} {{ if !.Accepted }}Weight: {{ .Total }}{{else}}({{ T("accepted") }}){{end}}">
<span class="tag{{ if len(Torrent.Tags) > 5 }} big{{ end }}{{ if !.Accepted }} pending{{else}} accepted{{end}}" title="Tag: {{ .Type }} ({{ if !.Accepted }}{{ .Total }}{{else}}{{ T("accepted") }}{{end}})">
<span class="tag-text{{ if User.ID > 0 }} votable{{end}}">
{{ T("tagtype_" + .Type) }}: {{ .Tag }}
</span>