Move Visit server link to server name

This commit is contained in:
Hypolite Petovan 2024-03-07 09:42:45 -05:00
parent 13b95e22da
commit 2ffb047736

View file

@ -26,7 +26,10 @@ $base_url_display = substr($base_url, strpos($base_url, '/') + 2);
<div class="card mr-2 mb-2 bg-light" id="server-card-<?php echo $server['id'] ?>"> <div class="card mr-2 mb-2 bg-light" id="server-card-<?php echo $server['id'] ?>">
<div class="card-body"> <div class="card-body">
<h5 class="card-title"> <h5 class="card-title">
<a href="<?php echo $this->escapeHtmlAttr($this->u($base_url)); ?>" target="_blank" title="<?php echo $this->__('Visit Server')?>">
<?php echo $this->e($server['name']); ?> <?php echo $this->e($server['name']); ?>
<i class="fa fa-external-link-alt"></i>
</a>
</h5> </h5>
<h6 class="card-subtitle mb-2 text-muted"> <h6 class="card-subtitle mb-2 text-muted">
<?php if ($server['ssl_state']): ?> <?php if ($server['ssl_state']): ?>
@ -75,8 +78,6 @@ $base_url_display = substr($base_url, strpos($base_url, '/') + 2);
<?php else: ?> <?php else: ?>
<p class="card-text text-muted">&lt;<?php echo $this->__('No description provided')?>&gt;</p> <p class="card-text text-muted">&lt;<?php echo $this->__('No description provided')?>&gt;</p>
<?php endif; ?> <?php endif; ?>
<a href="<?php echo $this->escapeHtmlAttr($this->u($base_url)); ?>" class="card-link btn btn-primary"><i class="fa fa-external-link-alt"></i>
<?php echo $this->__('Visit Server')?></a>
</div> </div>
</div> </div>
<?php /* <?php /*