Move Visit server link to server name #103

Merged
tobias merged 1 commit from MrPetovan/friendica-directory:enhancement/100-move-visit-server-link into stable 2024-03-07 15:48:27 +01:00
Showing only changes of commit 2ffb047736 - Show all commits

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">
<?php echo $this->e($server['name']); ?> <a href="<?php echo $this->escapeHtmlAttr($this->u($base_url)); ?>" target="_blank" title="<?php echo $this->__('Visit Server')?>">
<?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 /*