letsencrypt: Use new setup mechanism

This commit is contained in:
Sunil Mohan Adapa committed 2016-02-13 13:51:05 +05:30
1 parent cceddf5c0a
commit cef8f5c2c4
3 files changed
+34 -28

No files matched your search

+3 -3
View File
@@ -29,20 +29,20 @@ import json
import logging
from plinth import actions
from plinth import package
from plinth.errors import ActionError
from plinth.modules import letsencrypt
from plinth.modules import names
logger = logging.getLogger(__name__)
@package.required(['letsencrypt'])
def index(request):
"""Serve configuration page."""
status = get_status()
return TemplateResponse(request, 'letsencrypt.html',
{'title': _('Certificates (Let\'s Encrypt)'),
{'title': letsencrypt.title,
'description': letsencrypt.description,
'status': status})