diff --git a/apps_in_progress.md b/apps_in_progress.md index 18a7a83b..8a164474 100644 --- a/apps_in_progress.md +++ b/apps_in_progress.md @@ -29,11 +29,23 @@ The packagers will appreciate your remarks. If you test them and find issues, or
View all
+

Declared as working applications

+

Important: it's the application maintaineur that qualify his application as working, not the YunoHost core team. Install it at your own risks. We won't provide support for it.

-
+
+ +

Work in progress applications

+

Those are not yet finished applications, we strongly advise against installing them except if you know what you are doing.

+ +
+ +

Borken applications

+

Do NOT install them, they are here as reference while they aren't fixed.

+ +
@@ -79,6 +91,15 @@ $(document).ready(function () { if (typeof infos.manifest.description.fr === 'undefined') { infos.manifest.description.fr = infos.manifest.description.en; } + + if (infos.state === "working") { + app_state_bootstrap = "default"; + } else if (infos.state === "inprogress") { + app_state_bootstrap = "warning"; + } else if (infos.state === "notworking") { + app_state_bootstrap = "danger"; + } + html = $('#app-template2').html() .replace(/{app_id}/g, app_id) .replace(/{app_name}/g, infos.manifest.name) @@ -87,6 +108,7 @@ $(document).ready(function () { .replace('{app_branch}', infos.git.branch) .replace('{app_update}', timeConverter(infos.lastUpdate)) .replace('{app_state}', infos.state) + .replace('{app_state_bootstrap}', app_state_bootstrap) .replace('{app_license}', infos.manifest.license); if (infos.manifest.developer) { @@ -101,20 +123,8 @@ $(document).ready(function () { .replace('{app_mail}', infos.manifest.maintainer.email); } - $('#app-accordion2').append(html); + $('#app-accordion2-' + infos.state).append(html); $('.app_'+ app_id).attr('id', 'app_'+ app_id); - - setTimeout(function() { - $(".notworking").each(function() { - $(this).html( 'Non fonctionnel' ); - }); - $(".inprogress").each(function() { - $(this).html( 'En cours' ); - }); - $(".working").each(function() { - $(this).html( 'Fonctionnel' ); - }); - }, 3000); }); }); });