1
0
Fork 0
mirror of https://github.com/YunoHost/doc.git synced 2024-09-03 20:06:26 +02:00

Update apps.md

This commit is contained in:
julien.malik@paraiso.me 2014-12-12 10:55:43 +01:00 committed by YunoHost
parent 99fdac84b4
commit 1287551a10

View file

@ -51,11 +51,16 @@ $(document).ready(function () {
.replace(/{app_id}/g, app_id)
.replace(/{app_name}/g, infos.manifest.name)
.replace('{app_description}', infos.manifest.description.en)
.replace('{app_maintainer}', infos.manifest.developer.name)
.replace('{app_mail}', infos.manifest.developer.email)
.replace('{app_git}', infos.git.url)
.replace('{app_branch}', infos.git.branch)
.replace('{app_update}', timeConverter(infos.lastUpdate));
if (infos.manifest.developer) {
html
.replace('{app_maintainer}', infos.manifest.developer.name)
.replace('{app_mail}', infos.manifest.developer.email);
}
$('#app-accordion').append(html);
$('.app_'+ app_id).attr('id', 'app_'+ app_id);
});