Skip to content
Snippets Groups Projects
Commit 6a665bf6 authored by Robert Lange's avatar Robert Lange
Browse files

refs #23221 [finc] keep indentation for resolver texts next to traffic lights

parent 5575872f
No related merge requests found
<!-- finc - templates - ajax - resolverLink -->
<?php if (!empty($link['href'])): ?>
<?php /* finc-specific change #7986 - CK - traffic light */ ?>
<div class="show-availability">
<div class="flex">
<div class="show-availability">
<span class="sr-only">
<?=$this->translate('Availability')?>: <?=$this->transEsc('resolver_link_access_' . $link['access'])?>
</span>
......@@ -10,23 +11,26 @@
<span class="second"></span>
<span class="last"></span>
</div>
</div>
<?php /* finc-specific change #7986 - END */ ?>
<div>
<?= $this->externalLink(
$this->escapeHtmlAttr($link['href']),
$link['title'] ?? '',
[
'title' => $link['service_type'] ?? '',
'class' => !empty($link['access']) ? 'access-' . $link['access'] : ''
]
) ?>
<?php /* finc-specific change #5334 - CK */ ?>
<small>
<?= isset($link['coverage']) ? $this->escapeHtml($link['coverage']) : '' ?>
<?= isset($link['coverageHref'])
? $this->externalLink($link['coverageHref'], $this->translate('Readme'))
: '' ?>
</small>
</div>
</div>
<?php /* finc-specific change #7986 - END */ ?>
<?= $this->externalLink(
$this->escapeHtmlAttr($link['href']),
$link['title'] ?? '',
[
'title' => $link['service_type'] ?? '',
'class' => !empty($link['access']) ? 'access-' . $link['access'] : ''
]
) ?>
<?php /* finc-specific change #5334 - CK */ ?>
<small>
<?= isset($link['coverage']) ? $this->escapeHtml($link['coverage']) : '' ?>
<?= isset($link['coverageHref'])
? $this->externalLink($link['coverageHref'], $this->translate('Readme'))
: '' ?>
</small>
<?php /* finc-specific change #5334 - END */ ?>
<?php else: ?>
<?=isset($link['title'])?$this->escapeHtml($link['title']):''?> <?=isset($link['coverage'])?$this->transEsc($link['coverage']):''?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment