// Add icon and specific title to list
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
{block name="override_form_extra"}{/block}
|
{block name="override_form_extra"}{/block}
|
||||||
<fieldset class="col-lg-12">
|
<fieldset class="col-lg-12">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
{if is_array($title)}{$title|end}{else}{$title}{/if}
|
{if isset($icon)}<i class="{$icon}"></i> {/if}{if is_array($title)}{$title|end}{else}{$title}{/if}
|
||||||
{if isset($toolbar_btn) && count($toolbar_btn) >0}
|
{if isset($toolbar_btn) && count($toolbar_btn) >0}
|
||||||
<span class="panel-heading-action">
|
<span class="panel-heading-action">
|
||||||
{foreach from=$toolbar_btn item=btn key=k}
|
{foreach from=$toolbar_btn item=btn key=k}
|
||||||
@@ -177,7 +177,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{if $simple_header}
|
{if $simple_header}
|
||||||
<fieldset class="col-lg-12">
|
<fieldset class="col-lg-12">
|
||||||
<h3>{if is_array($title)}{$title|end}{else}{$title}{/if}</h3>
|
<h3>{if isset($icon)}<i class="{$icon}"></i> {/if}{if is_array($title)}{$title|end}{else}{$title}{/if}</h3>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="table-responsive clearfix">
|
<div class="table-responsive clearfix">
|
||||||
<table
|
<table
|
||||||
|
|||||||
@@ -608,7 +608,7 @@ class HelperListCore extends Helper
|
|||||||
));
|
));
|
||||||
|
|
||||||
$this->header_tpl->assign(array_merge($this->tpl_vars, array(
|
$this->header_tpl->assign(array_merge($this->tpl_vars, array(
|
||||||
'title' => $this->title,
|
'title' => array_key_exists('title', $this->tpl_vars) ? $this->tpl_vars['title'] : $this->title,
|
||||||
'show_filters' => (count($this->_list) <= 1 && !$has_value) ? false : true,
|
'show_filters' => (count($this->_list) <= 1 && !$has_value) ? false : true,
|
||||||
'filters_has_value' => $has_value,
|
'filters_has_value' => $has_value,
|
||||||
'show_toolbar' => $this->show_toolbar,
|
'show_toolbar' => $this->show_toolbar,
|
||||||
|
|||||||
Reference in New Issue
Block a user