Files
Froxlor/templates/Sparkle/ssl_certificates/certs_cert.tpl
Kai Neuwerth 91cecf8c1e Link domains to HTTPS in certificate list
As an admin I want to check if the certificate of a website is working.
Therefore I click on the domain in the SSL certificate list and have to prepend "https" to the URL later.
In this case I'd link the domain to HTTPS initially.
2018-03-04 11:43:50 +01:00

35 lines
1.2 KiB
Smarty

<tr <if !$isValid>class="domain-expired"</if>>
<td>
<a href="https://{$row['domain']}" target="_blank">{$row['domain']}</a>
{$adminCustomerLink}
</td>
<td>
{$cert_data['subject']['CN']}
<if !empty($san_list)><br>SAN: {$san_list}</if>
</td>
<td>
{$cert_data['issuer']['O']}
</td>
<td>
{$validFrom}
</td>
<td>
<if !$isValid><strong><span class="red"></if>
{$validTo}
<if !$isValid></span></strong></if>
</td>
<td>
<if $row['letsencrypt'] != 1 && AREA == 'customer'>
<a href="{$linker->getLink(array('section' => 'domains', 'page' => 'domainssleditor', 'action' => 'view', 'id' => $row['domainid']))}">
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" title="{$lng['panel']['edit']}" />
</a>&nbsp;
</if>
<if $row['letsencrypt'] == '1'>
<img src="templates/{$theme}/assets/img/icons/ssl_letsencrypt.png" alt="{$lng['panel']['letsencrypt']}" title="{$lng['panel']['letsencrypt']}" />
</if>
<a href="{$linker->getLink(array('section' => 'domains', 'page' => 'sslcertificates', 'action' => 'delete', 'id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" title="{$lng['panel']['delete']}" />
</a>
</td>
</tr>