The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wekan/client/components/settings/informationBody.jade

51 lines
1.4 KiB

template(name='information')
.setting-content
unless currentUser.isAdmin
| {{_ 'error-notAuthorized'}}
else
.content-title
span {{_ 'info'}}
.content-body
.side-menu
ul
li.active
a.js-setting-menu(data-id="information-display") {{_ 'info'}}
.main-body
+statistics
template(name='statistics')
table
tbody
tr
th {{_ 'Wekan_version'}}
td {{statistics.version}}
tr
th {{_ 'Node_version'}}
td {{statistics.process.nodeVersion}}
tr
th {{_ 'OS_Type'}}
td {{statistics.os.type}}
tr
th {{_ 'OS_Platform'}}
td {{statistics.os.platform}}
tr
th {{_ 'OS_Arch'}}
td {{statistics.os.arch}}
tr
th {{_ 'OS_Release'}}
td {{statistics.os.release}}
tr
th {{_ 'OS_Uptime'}}
td {{humanReadableTime statistics.os.uptime}}
tr
th {{_ 'OS_Loadavg'}}
td {{numFormat statistics.os.loadavg.[0]}}, {{numFormat statistics.os.loadavg.[1]}}, {{numFormat statistics.os.loadavg.[2]}}
tr
th {{_ 'OS_Totalmem'}}
td {{bytesToSize statistics.os.totalmem}}
tr
th {{_ 'OS_Freemem'}}
td {{bytesToSize statistics.os.freemem}}
tr
th {{_ 'OS_Cpus'}}
td {{statistics.os.cpus.length}}