Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Merge pull request #1230 from Kiloutre/patch-17

Fix real torrent display in upload.html
Cette révision appartient à :
ewhal 2017-07-18 23:17:46 +10:00 révisé par GitHub
révision 111372409e
2 fichiers modifiés avec 2 ajouts et 2 suppressions

Voir le fichier

@ -111,7 +111,7 @@ var Kilo = function (params) {
var addKeywordFlags = debounce(function(e) {
var Keywords_flags= [
["vostfr","vosfr", "[ita]", "[eng]", " eng ", "[english]", "[jp]", "[jpn]"],
["fr","fr", "it", "en", "en", "en", "ja", "ja"];
["fr","fr", "it", "en", "en", "en", "ja", "ja"] ];
var torrentLowerCaseName = e.toLowerCase(),
updateLang = false;

Voir le fichier

@ -19,7 +19,7 @@ Templates.Add("torrents.item", function(torrent) {
((torrent.languages[0] != "") ? "<a><img src=\"img/blank.gif\" class=\"flag flag-"+ ((torrent.languages.length == 1) ? flagCode(torrent.languages[0]) : "multiple") +"\" title=\""+torrent.languages.map(function (el, i) { return T.r(el)}).join(",")+"\"></a>" : "") +
"</a>"+
"</div></td>"+
"<td class=\"tr-name home-td\"><a>"+Templates.EncodeEntities(torrent.name) +"</a></td>"+
"<td class=\"tr-name home-td\""+ (torrent.comments.length == 0 ? "colspan=\"2\"" : "" ) +"><a>"+Templates.EncodeEntities(torrent.name) +"</a></td>"+
((torrent.comments.length > 0) ? "<td class=\"tr-cs home-td\"><span>"+ torrent.comments.length + "</span></td>" : "")+
"<td class=\"tr-links home-td\">"+
"<a title=\"{{ T("magnet_link") }}\">"+