mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-11-05 21:07:55 +00:00
Fix issue #463
This commit is contained in:
parent
31e9e2719c
commit
8aa92f906b
@ -299,7 +299,7 @@
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles_cat"
|
||||
name="show_cat_num_links_cat"
|
||||
type="radio"
|
||||
label="COM_WEBLINKS_FIELD_CONFIG_CAT_SHOWNUMBERS_LABEL"
|
||||
layout="joomla.form.field.radio.switcher"
|
||||
|
@ -22,7 +22,7 @@ if ($this->maxLevelcat != 0 && count($this->items[$this->parent->id]) > 0) :
|
||||
<h3 class="page-header item-title">
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($item->id, $item->language)); ?>">
|
||||
<?php echo $this->escape($item->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_items_cat') == 1) :?>
|
||||
<?php if ($this->params->get('show_cat_num_links_cat') == 1) :?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_WEBLINKS_NUM_ITEMS'); ?>
|
||||
<?php echo $item->numitems; ?>
|
||||
|
Loading…
Reference in New Issue
Block a user