1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-30 22:50:10 +03:00

Feature #1572: Print nice size units for images

This commit is contained in:
Carlos Martín 2013-04-12 17:31:24 +02:00
parent 71e7acd055
commit 9399d7aca6
2 changed files with 4 additions and 4 deletions

View File

@ -564,8 +564,8 @@ function updateFileInfo(request,img){
<td></td>\
</tr>\
<tr>\
<td class="key_td">'+tr("Size (MB)")+'</td>\
<td class="value_td">'+img_info.SIZE+'</td>\
<td class="key_td">'+tr("Size")+'</td>\
<td class="value_td">'+humanize_size_from_mb(img_info.SIZE)+'</td>\
<td></td>\
</tr>\
<tr>\

View File

@ -698,8 +698,8 @@ function updateImageInfo(request,img){
<td></td>\
</tr>\
<tr>\
<td class="key_td">'+tr("Size (MB)")+'</td>\
<td class="value_td">'+img_info.SIZE+'</td>\
<td class="key_td">'+tr("Size")+'</td>\
<td class="value_td">'+humanize_size_from_mb(img_info.SIZE)+'</td>\
<td></td>\
</tr>\
<tr>\