max 2 digits after . for %-completed
This commit is contained in:
parent
f7c7644362
commit
ab37facd54
@ -5,7 +5,7 @@ $def with (torrent)
|
|||||||
<div class="progress_bar" style="width:$torrent.progress%;
|
<div class="progress_bar" style="width:$torrent.progress%;
|
||||||
text-align:center;font-weight:bold;">
|
text-align:center;font-weight:bold;">
|
||||||
|
|
||||||
$torrent.progress %</div>
|
$("%.2f" % torrent.progress) %</div>
|
||||||
</td>
|
</td>
|
||||||
</tr><td width=30%%>
|
</tr><td width=30%%>
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user