From c8ead748ee16da39923bb0104a7e4782f284a265 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 30 May 2019 17:10:10 +0200 Subject: [PATCH] Remove 'version' entry in tools list, as 'Diagnosis' already contains it --- src/js/yunohost/controllers/tools.js | 7 ------- src/views/tools/tools_list.ms | 4 ---- src/views/tools/tools_versions.ms | 22 ---------------------- 3 files changed, 33 deletions(-) delete mode 100644 src/views/tools/tools_versions.ms diff --git a/src/js/yunohost/controllers/tools.js b/src/js/yunohost/controllers/tools.js index 98aac838..f8c033f9 100644 --- a/src/js/yunohost/controllers/tools.js +++ b/src/js/yunohost/controllers/tools.js @@ -208,13 +208,6 @@ }); - // Packages version - app.get('#/tools/versions', function (c) { - c.api('/diagnosis', function(diagnosis) { - c.view('tools/tools_versions', {'versions' : diagnosis.packages }); - }); - }); - // Reboot or shutdown button app.get('#/tools/reboot', function (c) { c.view('tools/tools_reboot'); diff --git a/src/views/tools/tools_list.ms b/src/views/tools/tools_list.ms index 8e8a70c2..3e3d2dd8 100644 --- a/src/views/tools/tools_list.ms +++ b/src/views/tools/tools_list.ms @@ -43,8 +43,4 @@

{{t 'tools_shutdown_reboot'}}

- - -

{{t 'versions'}}

-
diff --git a/src/views/tools/tools_versions.ms b/src/views/tools/tools_versions.ms deleted file mode 100644 index 4327b979..00000000 --- a/src/views/tools/tools_versions.ms +++ /dev/null @@ -1,22 +0,0 @@ -
- {{t 'home'}} - {{t 'tools'}} - {{t 'versions'}} -
- -
- -
-
-

{{t 'versions'}}

-
-
-
- {{#each versions}} -
{{@key}}
-
{{version}} ({{repo}})
- {{/each}} -
- {{t 'system_update'}} -
-