From 51fc87f1bc45aa2e9f158da246558fbfe95ebbef Mon Sep 17 00:00:00 2001 From: "narendrakumar.b" Date: Fri, 26 Apr 2019 15:23:13 +0530 Subject: [PATCH] letsencrypt: Provide link to configure domain if not configured Added hyper link to /plinth/sys/config as per #1355. Closes: #1355. Reviewed-by: Sunil Mohan Adapa --- plinth/modules/letsencrypt/templates/letsencrypt.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plinth/modules/letsencrypt/templates/letsencrypt.html b/plinth/modules/letsencrypt/templates/letsencrypt.html index 69a91fab7..3ea9e6958 100644 --- a/plinth/modules/letsencrypt/templates/letsencrypt.html +++ b/plinth/modules/letsencrypt/templates/letsencrypt.html @@ -321,9 +321,10 @@ {% endif %} {% else %} + {% url 'config:index' as config_url %} {% blocktrans trimmed %} - No domains have been configured. Configure domains to be able to - obtain certificates for them. + No domains have been configured. Configure + domains to be able to obtain certificates for them. {% endblocktrans %} {% endif %} {% endblock %}