From a12e3a81b0f26bb97c399f38d06fb4e177fc63c6 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 17 Apr 2016 06:26:56 +0200 Subject: [PATCH 1/5] [enh] split apps list in 3 lists with clearer informations --- apps_in_progress_fr.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/apps_in_progress_fr.md b/apps_in_progress_fr.md index 04d6e6ea..e677273c 100644 --- a/apps_in_progress_fr.md +++ b/apps_in_progress_fr.md @@ -28,7 +28,20 @@ N’hésitez pas à vous créer un compte GitHub pour faire part de vos remarque
Tout déplier
-
+

Applications dites fonctionnelles

+

Remarque : c'est le mainteneur de l'application qui la décrit comme fonctionnelle, pas l'équipe de YunoHost. Installez la à vos risques et péril. Nous ne fournirrons pas de support dessus.

+ +
+ +

Applications en cours de développement

+

Il s'agit d'application pas encore fonctionnelles mais en cours de développement, nous vous déconseillons fortement de les installer sauf si vous savez ce que vous faites.

+ +
+ +

Applications cassées

+

Ne les installez PAS, elles sont là pour référence le temps d'être réparées.

+ +
@@ -92,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 = "success"; + } 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) @@ -100,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) { @@ -116,18 +125,6 @@ $(document).ready(function () { $('#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); }); }); }); From 93282662315b4618fff58f24f75031fc7f491fab Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 18 Apr 2016 23:28:07 +0200 Subject: [PATCH 3/5] [mod] make warning more obvious --- apps_in_progress_fr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps_in_progress_fr.md b/apps_in_progress_fr.md index acb1d172..51badd38 100644 --- a/apps_in_progress_fr.md +++ b/apps_in_progress_fr.md @@ -29,7 +29,7 @@ N’hésitez pas à vous créer un compte GitHub pour faire part de vos remarque

Applications dites fonctionnelles

-

Remarque : c'est le mainteneur de l'application qui la décrit comme fonctionnelle, pas l'équipe de YunoHost. Installez la à vos risques et péril. Nous ne fournirrons pas de support dessus.

+

Remarque : c'est le mainteneur de l'application qui la décrit comme fonctionnelle, pas l'équipe de YunoHost. Installez la à vos risques et péril. Nous ne fournirrons pas de support dessus.

From 28bd11fd0ae9d79a6363737dc98cefd183ca9594 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 18 Apr 2016 23:28:19 +0200 Subject: [PATCH 4/5] [mod] no green for 'working' apps --- apps_in_progress_fr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps_in_progress_fr.md b/apps_in_progress_fr.md index 51badd38..50b68c7b 100644 --- a/apps_in_progress_fr.md +++ b/apps_in_progress_fr.md @@ -93,7 +93,7 @@ $(document).ready(function () { } if (infos.state === "working") { - app_state_bootstrap = "success"; + app_state_bootstrap = "default"; } else if (infos.state === "inprogress") { app_state_bootstrap = "warning"; } else if (infos.state === "notworking") { From cab13d1c8da1a5ec67031b92ed5fa0d41d1ee0f1 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Tue, 19 Apr 2016 06:50:36 +0200 Subject: [PATCH 5/5] [enh] port new apps in progress display to english version --- apps_in_progress.md | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) 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.

+ +