mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] mustache is a bit stupid, modify js to match its lameness
This commit is contained in:
parent
fd81c0950d
commit
e7fd25c82e
1 changed files with 8 additions and 3 deletions
|
@ -729,9 +729,14 @@ def app_debug(app):
|
||||||
manifest = json.loads(f.read())
|
manifest = json.loads(f.read())
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'name': manifest['name'],
|
'name': manifest['id'],
|
||||||
'services_logs': [{
|
'label': manifest['name'],
|
||||||
x: service_log(x),
|
'services': [{
|
||||||
|
"name": x,
|
||||||
|
"logs": [{
|
||||||
|
"file_name": y,
|
||||||
|
"file_content": "\n".join(z),
|
||||||
|
} for (y, z) in sorted(service_log(x).items(), key=lambda x: x[0])],
|
||||||
} for x in sorted(manifest.get("services", []))]
|
} for x in sorted(manifest.get("services", []))]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue