Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fix torrent_item JS that missed " " for a string (#1470)

* Forgot to put the translation text into a string

* Fix torrent_item.jet.html

* Remove useless spacing
Cette révision appartient à :
kilo 2017-09-03 06:03:04 +02:00 révisé par ewhal
Parent a01cb17e4c
révision d7a649c35b
2 fichiers modifiés avec 2 ajouts et 2 suppressions

Voir le fichier

@ -29,7 +29,7 @@ Templates.Add("torrents.item", function(torrent) {
// {{end}}
var languages = ""
var colspan = (torrent.comments.length == 0 ? ` colspan="2"` : "" )
var commentTd = ((torrent.comments.length > 0) ? `<td class="tr-cs home-td" title="`+torrent.comments.length + ` ` + {{T("comments")}} +`"><span>` + torrent.comments.length + `</span></td>` : "")
var commentTd = ((torrent.comments.length > 0) ? `<td class="tr-cs home-td" title="`+torrent.comments.length + ` {{T("comments")}}` +`"><span>` + torrent.comments.length + `</span></td>` : "")
var dlLink = (torrent.torrent != "" ? ` <a href="` + torrent.torrent + `" title="{{ T("torrent_file") }}"><div class="icon-floppy"></div></a>` : "")
if (torrent.languages[0] != "") {

Voir le fichier

@ -25,7 +25,7 @@ Templates.Add("torrents.item", function(torrent) {
// {{end}}
var languages = ""
var colspan = (torrent.comments.length == 0 ? ` colspan="2"` : "" )
var commentTd = ((torrent.comments.length > 0) ? `<td class="tr-cs home-td" title="`+torrent.comments.length + ` ` + {{T("comments")}} +`"><span>` + torrent.comments.length + `</span></td>` : "")
var commentTd = ((torrent.comments.length > 0) ? `<td class="tr-cs home-td" title="`+torrent.comments.length + ` {{T("comments")}}` +`"><span>` + torrent.comments.length + `</span></td>` : "")
var dlLink = (torrent.torrent != "" ? ' <a><div class="icon-floppy"></div></a>' : "")
if (torrent.languages[0] != "") {