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 à :
Parent
a01cb17e4c
révision
d7a649c35b
2 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -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] != "") {
|
||||
|
|
|
@ -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] != "") {
|
||||
|
|
Référencer dans un nouveau ticket