Remove unused stuff (#1365)
* remove no-torrent class * remove no-torrent from css * remove no-torrent from preview JS * remove no-torrent from auto-updating JS
Cette révision appartient à :
Parent
eeaeb644bf
révision
99f93a83be
4 fichiers modifiés avec 3 ajouts et 6 suppressions
|
@ -509,9 +509,6 @@ th {
|
|||
text-align: left;
|
||||
padding: 0 2px!important;
|
||||
}
|
||||
.tr-links.no-torrent {
|
||||
width: 27px!important;
|
||||
}
|
||||
|
||||
.tr-cs {
|
||||
width: 15px;
|
||||
|
|
|
@ -52,7 +52,7 @@ Templates.Add("torrents.item", function(torrent) {
|
|||
</div></td>
|
||||
<td class="tr-name home-td"` + colspan + `><a href="/view/` + torrent.id + `">` + Templates.EncodeEntities(torrent.name) + `</a></td>
|
||||
`+ commentTd +`
|
||||
<td class="tr-links home-td` + (dlLink == "" ? " no-torrent" : "") + `">
|
||||
<td class="tr-links home-td">
|
||||
<a href="` + torrent.magnet + `" title="{{ T("magnet_link") }}">
|
||||
<div class="icon-magnet"></div>
|
||||
</a>`+ dlLink +`
|
||||
|
|
|
@ -43,7 +43,7 @@ Templates.Add("torrents.item", function(torrent) {
|
|||
</div></td>
|
||||
<td class="tr-name home-td"` + colspan + `><a>` + Templates.EncodeEntities(torrent.name) + `</a></td>
|
||||
`+ commentTd +`
|
||||
<td class="tr-links home-td` + (dlLink == "" ? " no-torrent" : "")+ `">
|
||||
<td class="tr-links home-td">
|
||||
<a title="{{ T("magnet_link") }}">
|
||||
<div class="icon-magnet"></div>
|
||||
</a>`+ dlLink +`
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
<span>{{len(.Comments)}}</span>
|
||||
</td>
|
||||
{{ end }}
|
||||
<td class="tr-links home-td{{if .TorrentLink == ""}} no-torrent{{end}}">
|
||||
<td class="tr-links home-td">
|
||||
<a href="{{.Magnet}}" title="{{ T("magnet_link") }}">
|
||||
<div class="icon-magnet"></div>
|
||||
</a>
|
||||
|
|
Référencer dans un nouveau ticket