Merge pull request 'Move Visit server link to server name' (#103) from MrPetovan/friendica-directory:enhancement/100-move-visit-server-link into stable
Reviewed-on: friendica/friendica-directory#103
This commit is contained in:
commit
4524ad166b
|
@ -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"><<?php echo $this->__('No description provided')?>></p>
|
<p class="card-text text-muted"><<?php echo $this->__('No description provided')?>></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 /*
|
||||||
|
|
Loading…
Reference in a new issue