Skip to content
Snippets Groups Projects
Commit e2c60e38 authored by Tim Fechner's avatar Tim Fechner Committed by Tim Fechner
Browse files

Remove link to ssllabs.com if domain is invalid

parent 2d244668
Branches
No related tags found
No related merge requests found
...@@ -96,10 +96,13 @@ ...@@ -96,10 +96,13 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title"> <h3 class="panel-title">
Grades <span class="pull-right"> Grades
<span class="pull-right">
{% if domain.ssl_lab_status.grades %}
<a href="https://www.ssllabs.com/ssltest/analyze.html?d={{ domain.fqdn }}" target="_blank"> <a href="https://www.ssllabs.com/ssltest/analyze.html?d={{ domain.fqdn }}" target="_blank">
<i class="fa fa-external-link"></i> View on ssllabs.com <i class="fa fa-external-link"></i> View on ssllabs.com
</a> </a>
{% endif %}
</span> </span>
</h3> </h3>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment