Skip to content

Commit 570ce61

Browse files
committed
Show certificate issue status
1 parent 6d67a0e commit 570ce61

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

readthedocs/templates/projects/domain_form.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
{% endblock %}
2222

2323
{% block project_edit_content %}
24+
{% if domain.domainssl %}
25+
{# This references optional code to get the SSL certificate status #}
26+
<p>
27+
<strong>HTTPS status: </strong>
28+
<span>{{ domain.domainssl.status }}</span>
29+
</p>
30+
{% endif %}
31+
2432
{% if domain %}
2533
{% url 'projects_domains_edit' project.slug domain.pk as action_url %}
2634
{% else %}

0 commit comments

Comments
 (0)