mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[enh] Add install_date on application info.
This commit is contained in:
parent
6a91ddcf33
commit
62f74cb148
4 changed files with 7 additions and 0 deletions
|
@ -718,6 +718,9 @@ app = Sammy('#main', function (sam) {
|
|||
data.manifest.description['en']
|
||||
;
|
||||
|
||||
// Installation date
|
||||
var d = new Date(data.settings.install_time * 1000);
|
||||
data.install_time = d.getDate() + '/' + (d.getMonth()+1) + '/' + d.getFullYear();
|
||||
|
||||
c.view('app/app_info', data);
|
||||
});
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
"multi_instance" : "Multi instance",
|
||||
"manage_domains" : "Manage domains",
|
||||
"manage_users" : "Manage users",
|
||||
"install_time" : "Install time",
|
||||
|
||||
"backup" : "Backup",
|
||||
"backup_warning_title" : "The backup system is not implemented yet.",
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
"multi_instance" : "Multi instance",
|
||||
"manage_domains" : "Gerer les domaines",
|
||||
"manage_users" : "Gerer les utilisateurs",
|
||||
"install_time" : "Date d'installation",
|
||||
|
||||
|
||||
"backup" : "Sauvegarde",
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
<dd>{{description}}</dd>
|
||||
<dt>{{t 'multi_instance'}}</dt>
|
||||
<dd>{{#if manifest.multi_instance}}{{t 'yes'}}{{else}}{{t 'no'}}{{/if}}</dd>
|
||||
<dt>{{t 'install_time'}}</dt>
|
||||
<dd>{{install_time}}</dd>
|
||||
<dt>{{t 'url'}}</dt>
|
||||
<dd><a href="https://{{settings.domain}}{{settings.path}}" target="_blank">https://{{settings.domain}}{{settings.path}}</a></dd>
|
||||
</dl>
|
||||
|
|
Loading…
Reference in a new issue