mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Explicit bananas
This commit is contained in:
parent
f0d95f41ab
commit
b82bdeac48
1 changed files with 4 additions and 0 deletions
|
@ -23,7 +23,9 @@
|
||||||
v.status = y18n.t(v.status);
|
v.status = y18n.t(v.status);
|
||||||
v.loaded = y18n.t(v.loaded);
|
v.loaded = y18n.t(v.loaded);
|
||||||
if (v.active_at == 'unknown')
|
if (v.active_at == 'unknown')
|
||||||
|
{
|
||||||
delete v.active_at;
|
delete v.active_at;
|
||||||
|
}
|
||||||
data2.services.push(v);
|
data2.services.push(v);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -55,7 +57,9 @@
|
||||||
data2.service.active = y18n.t(data.active);
|
data2.service.active = y18n.t(data.active);
|
||||||
data2.service.loaded = y18n.t(data.loaded);
|
data2.service.loaded = y18n.t(data.loaded);
|
||||||
if (data.active_at != 'unknown')
|
if (data.active_at != 'unknown')
|
||||||
|
{
|
||||||
data2.service.active_at = data.active_at;
|
data2.service.active_at = data.active_at;
|
||||||
|
}
|
||||||
store.clear('slide');
|
store.clear('slide');
|
||||||
c.view('service/service_info', data2);
|
c.view('service/service_info', data2);
|
||||||
}, 'GET');
|
}, 'GET');
|
||||||
|
|
Loading…
Add table
Reference in a new issue