diff --git a/src/js/yunohost/controllers/domains.js b/src/js/yunohost/controllers/domains.js index 17df4f75..d1ab6922 100644 --- a/src/js/yunohost/controllers/domains.js +++ b/src/js/yunohost/controllers/domains.js @@ -86,22 +86,10 @@ c.api('PUT', '/domains/main', {}, function(dataMain) { c.api('GET', '/apps?installed', {}, function(data) { - // FIXME - This dirty trick (along with the previous API call - // for apps installed) should be removed once letsencrypt_ynh - // is not used by many people anymore. Probably around 07/2017 - // or end of 2017... - var enable_cert_management_ = true; - $.each(data['apps'], function(k, v) { - if (v.id == "letsencrypt") { - enable_cert_management_ = false; - } - }); - var domain = { name: c.params['domain'], main: (c.params['domain'] == dataMain.current_main_domain) ? true : false, - url: "https://"+c.params['domain'], - enable_cert_management: enable_cert_management_ + url: "https://"+c.params['domain'] }; c.view('domain/domain_info', domain, function() { diff --git a/src/views/domain/domain_info.ms b/src/views/domain/domain_info.ms index 6724dcf2..50c341d1 100644 --- a/src/views/domain/domain_info.ms +++ b/src/views/domain/domain_info.ms @@ -42,12 +42,7 @@
{{t 'certificate_manage'}}
- {{#unless enable_cert_management}} -- {{t 'certificate_old_letsencrypt_app_conflict'}} -
- {{/unless}} - + {{t 'ssl_certificate'}}