Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Update view.jet.html

Cette révision appartient à :
kilo 2017-09-08 23:29:46 +02:00 révisé par GitHub
Parent 9f290425ca
révision 2ef8739642

Voir le fichier

@ -12,7 +12,7 @@
<h1 style="text-align: center;" class="torrent-hr">{{Torrent.Name}}</h1> <h1 style="text-align: center;" class="torrent-hr">{{Torrent.Name}}</h1>
</div> </div>
<br/> <br/>
<table id="torrent-view-data"> <table>
<tr class="torrent-info-row"> <tr class="torrent-info-row">
<td class="torrent-info-td torrent-info-label">{{ T("category") }}:</td> <td class="torrent-info-td torrent-info-label">{{ T("category") }}:</td>
<td class="torrent-view-td torrent-info-data"> <td class="torrent-view-td torrent-info-data">
@ -148,16 +148,14 @@
{{end}} {{end}}
<div style="clear:both;"></div> <div style="clear:both;"></div>
</div> </div>
<p class="torrent-hr">{{ T("description")}}</p> <p class="torrent-hr" id="torrent-description-hr">{{ T("description")}}</p>
{{ if Torrent.Description != ""}} {{ if Torrent.Description != ""}}
<div id="description-box" class="torrent-info-box">{{Torrent.Description|raw}}</div> <div id="description-box" class="torrent-info-box">{{Torrent.Description|raw}}</div>
{{else}} {{else}}
<p>{{ T("no_description") }}</p> <p>{{ T("no_description") }}</p>
{{end}} {{end}}
<input type="checkbox" id="show-filelist" {{if len(Torrent.FileList) < 4 && len(Torrent.FileList) > 0}}checked{{end}}/> <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"> <label class="torrent-hr filelist-control{{if len(Torrent.FileList) == 0}} hidden{{end}}" for="show-filelist">{{ T("files")}}</label>
{{ T("files")}}
</label>
<div class="torrent-info-box{{if len(Torrent.FileList) == 0}} hidden{{end}}" id="filelist"> <div class="torrent-info-box{{if len(Torrent.FileList) == 0}} hidden{{end}}" id="filelist">
{{ if len(Torrent.FileList) > 0 }} {{ if len(Torrent.FileList) > 0 }}
{* how do i concat lol *} {* how do i concat lol *}