diff --git a/plinth/modules/letsencrypt/templates/letsencrypt.html b/plinth/modules/letsencrypt/templates/letsencrypt.html index 32567c4aa..5bc9c225e 100644 --- a/plinth/modules/letsencrypt/templates/letsencrypt.html +++ b/plinth/modules/letsencrypt/templates/letsencrypt.html @@ -35,73 +35,76 @@ {% block configuration %} {% if status.domains %} -
| {% trans "Domain" %} | +{% trans "Certificate Status" %} | +{% trans "Website Security" %} | +{% trans "Actions" %} | +||||
|---|---|---|---|---|---|---|---|
| {% trans "Domain" %} | -{% trans "Certificate Status" %} | -{% trans "Website Security" %} | -{% trans "Actions" %} | +{{ domain }} | ++ {% if domain_status.certificate_available %} + + {% blocktrans trimmed with expiry_date=domain_status.expiry_date %} + Expires on {{ expiry_date }} + {% endblocktrans %} + + {% else %} + + {% trans "No certificate" %} + + {% endif %} + | ++ {% if domain_status.web_enabled %} + {% trans "Enabled" %} + {% else %} + {% trans "Disabled" %} + {% endif %} + | ++ {% if domain_status.certificate_available %} + + + {% else %} + + {% endif %} + |
| {{ domain }} | -- {% if domain_status.certificate_available %} - - {% blocktrans trimmed with expiry_date=domain_status.expiry_date %} - Expires on {{ expiry_date }} - {% endblocktrans %} - - {% else %} - - {% trans "No certificate" %} - - {% endif %} - | -- {% if domain_status.web_enabled %} - {% trans "Enabled" %} - {% else %} - {% trans "Disabled" %} - {% endif %} - | -- {% if domain_status.certificate_available %} - - - {% else %} - - {% endif %} - | -