letsencrypt: Improve display when no domains are configured

Show better message, and hide diagnostics button.
This commit is contained in:
mridulnagpal 2016-11-03 12:10:56 +05:30 committed by James Valleroy
parent d220fa946a
commit 14b65ae456
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 71 additions and 67 deletions

View File

@ -14,6 +14,8 @@ All notable changes to this project will be documented in this file.
- dynamicdns: Allow reading status as non-root. - dynamicdns: Allow reading status as non-root.
- config: Set current domainname again after hostname change. - config: Set current domainname again after hostname change.
- config: Handle clearing of domain name. - config: Handle clearing of domain name.
- letsencrypt: When no domains are configured, show better message,
and hide diagnostics button.
### Changed ### Changed
- repro: Use firewalld provided SIP services. - repro: Use firewalld provided SIP services.

View File

@ -34,7 +34,7 @@
{% endblock %} {% endblock %}
{% block configuration %} {% block configuration %}
{% if status.domains %}
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<table class="table table-bordered table-condensed table-striped"> <table class="table table-bordered table-condensed table-striped">
@ -101,5 +101,7 @@
</div> </div>
{% include "diagnostics_button.html" with module="letsencrypt" %} {% include "diagnostics_button.html" with module="letsencrypt" %}
{% else %}
No domains have been configured....
{% endif %}
{% endblock %} {% endblock %}