Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

File list open by default if there is only 1 - 3 files (not much space occupied), file list at 50% opacity if there's no file (#1227)

* Update view.jet.html

* whoopsies wrong line
Cette révision appartient à :
kilo 2017-07-18 02:02:29 +02:00 révisé par akuma06
Parent 6883b377e9
révision d32a5a306b

Voir le fichier

@ -66,9 +66,9 @@
{{else}}
<p>{{ T("no_description") }}</p>
{{end}}
<input type="checkbox" id="show-filelist">
<label class="torrent-hr filelist-control" for="show-filelist">{{ T("files")}}</label>
<div class="torrent-info-box" id="filelist">
<input type="checkbox" id="show-filelist" {{if len(Torrent.FileList) < 4 && len(Torrent.FileList) != 0}}checked{{end}}>
<label class="torrent-hr filelist-control{{if len(Torrent.FileList) == 0}} hidden{{end}}" for="show-filelist">{{ T("files")}}</label>
<div class="torrent-info-box{{if len(Torrent.FileList) == 0}} hidden{{end}}" id="filelist">
{{ if len(Torrent.FileList) > 0 }}
{* how do i concat lol *}
<table class="table-filelist">