Made default category list of contacts better aligned and single column type.

This commit is contained in:
Christian Wolf 2017-12-04 14:47:10 +01:00
parent 1cd9d4dd3a
commit cc950b2195

View File

@ -87,10 +87,12 @@ $listDirn = $this->escape($this->state->get('list.direction'));
<?php if ($this->params->get('show_country_headings') && !empty($item->country)) : ?> <?php if ($this->params->get('show_country_headings') && !empty($item->country)) : ?>
<?php $location[] = $item->country; ?> <?php $location[] = $item->country; ?>
<?php endif; ?> <?php endif; ?>
<?php echo implode($location, ', '); ?> <?php
</div> echo implode($location, ', ');
if(! empty($location))
echo "<br />";
?>
<div class="span3 col-md-3">
<?php if ($this->params->get('show_telephone_headings') && !empty($item->telephone)) : ?> <?php if ($this->params->get('show_telephone_headings') && !empty($item->telephone)) : ?>
<?php echo JText::sprintf('COM_CONTACT_TELEPHONE_NUMBER', $item->telephone); ?><br /> <?php echo JText::sprintf('COM_CONTACT_TELEPHONE_NUMBER', $item->telephone); ?><br />
<?php endif; ?> <?php endif; ?>