Merge pull request #1230 from Kiloutre/patch-17
Fix real torrent display in upload.html
Cette révision appartient à :
révision
111372409e
2 fichiers modifiés avec 2 ajouts et 2 suppressions
|
@ -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;
|
||||
|
|
|
@ -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") }}\">"+
|
||||
|
|
Référencer dans un nouveau ticket