max 2 digits after . for %-completed

This commit is contained in:
Martijn Voncken 2008-02-04 18:57:36 +00:00
parent f7c7644362
commit ab37facd54
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ $def with (torrent)
<div class="progress_bar" style="width:$torrent.progress%;
text-align:center;font-weight:bold;">
$torrent.progress %</div>
$("%.2f" % torrent.progress) %</div>
</td>
</tr><td width=30%%>
<table>