mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
Correctly humanize RAM size on info page
This commit is contained in:
parent
14d4397868
commit
ad6e0acab1
3 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td>Total Memory:</td>
|
||||
<td>{{ info.MemTotal }}MB</td>
|
||||
<td>{{ info.MemTotal|humansize }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Operating System:</td>
|
||||
|
|
2
dist/dockerui.js
vendored
2
dist/dockerui.js
vendored
|
@ -1504,7 +1504,7 @@ angular.module("app/components/info/info.html", []).run(["$templateCache", funct
|
|||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Total Memory:</td>\n" +
|
||||
" <td>{{ info.MemTotal }}MB</td>\n" +
|
||||
" <td>{{ info.MemTotal|humansize }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Operating System:</td>\n" +
|
||||
|
|
2
dist/templates/app.js
vendored
2
dist/templates/app.js
vendored
|
@ -493,7 +493,7 @@ angular.module("app/components/info/info.html", []).run(["$templateCache", funct
|
|||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Total Memory:</td>\n" +
|
||||
" <td>{{ info.MemTotal }}MB</td>\n" +
|
||||
" <td>{{ info.MemTotal|humansize }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Operating System:</td>\n" +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue