Show unknown file size based on current language (fixes #650)
Cette révision appartient à :
Parent
fce778c6f2
révision
47ea6ae4cb
|
@ -33,7 +33,13 @@
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="nowrap date-short">{{.Date}}</td>
|
<td class="nowrap date-short">{{.Date}}</td>
|
||||||
<td class="nowrap">{{.Filesize}}</td>
|
<td class="nowrap">
|
||||||
|
{{if ne .Filesize "Unknown"}}
|
||||||
|
{{.Filesize}}
|
||||||
|
{{else}}
|
||||||
|
{{T "unknown"}}
|
||||||
|
{{end}}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{.Magnet}}" title="{{ T "magnet_link" }}">
|
<a href="{{.Magnet}}" title="{{ T "magnet_link" }}">
|
||||||
<span class="glyphicon glyphicon-magnet" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-magnet" aria-hidden="true"></span>
|
||||||
|
|
|
@ -73,7 +73,13 @@ Your browser does not support the audio element.
|
||||||
</td>
|
</td>
|
||||||
{{end}}
|
{{end}}
|
||||||
<td class="hidden-xs nowrap date-short">{{.Date}}</td>
|
<td class="hidden-xs nowrap date-short">{{.Date}}</td>
|
||||||
<td class="hidden-xs nowrap">{{.Filesize}}</td>
|
<td class="hidden-xs nowrap">
|
||||||
|
{{if ne .Filesize "Unknown"}}
|
||||||
|
{{.Filesize}}
|
||||||
|
{{else}}
|
||||||
|
{{T "unknown"}}
|
||||||
|
{{end}}
|
||||||
|
</td>
|
||||||
<td class="hidden-xs nowrap">
|
<td class="hidden-xs nowrap">
|
||||||
<a href="{{.Magnet}}" title="Magnet link">
|
<a href="{{.Magnet}}" title="Magnet link">
|
||||||
<span class="glyphicon glyphicon-magnet" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-magnet" aria-hidden="true"></span>
|
||||||
|
|
|
@ -65,7 +65,13 @@
|
||||||
<p class="date-full">{{.Date}}</p>
|
<p class="date-full">{{.Date}}</p>
|
||||||
<hr>
|
<hr>
|
||||||
<h4>{{T "size"}}</h4>
|
<h4>{{T "size"}}</h4>
|
||||||
<p>{{.Filesize}}</p>
|
<p>
|
||||||
|
{{if ne .Filesize "Unknown"}}
|
||||||
|
{{.Filesize}}
|
||||||
|
{{else}}
|
||||||
|
{{T "unknown"}}
|
||||||
|
{{end}}
|
||||||
|
</p>
|
||||||
<hr>
|
<hr>
|
||||||
{{if ne .WebsiteLink ""}}
|
{{if ne .WebsiteLink ""}}
|
||||||
<h4>{{T "link"}}</h4>
|
<h4>{{T "link"}}</h4>
|
||||||
|
|
Référencer dans un nouveau ticket