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