+ support icon base64 & icon base64 minimized
This commit is contained in:
@ -39,7 +39,12 @@
|
||||
: null;
|
||||
?>" data-keywords="<?= e(trans($item->keywords)) ?>">
|
||||
<a href="<?= $item->url ?>">
|
||||
<i class="<?= $item->icon ?>"></i>
|
||||
<?php if ($item->icon_base64):?>
|
||||
<img src="<?=$item->icon_base64?>" alt="<?= e(trans($item->label)) ?>" title="<?= e(trans($item->label)) ?>">
|
||||
<img src="<?=$item->icon_base64_minimized ? : $item->icon_base64?>" class="minimized" alt="<?= e(trans($item->label)) ?>" title="<?= e(trans($item->label)) ?>">
|
||||
<?php else: ?>
|
||||
<i class="<?= $item->icon ?>"></i>
|
||||
<?php endif;?>
|
||||
<span class="header"><?= e(trans($item->label)) ?></span>
|
||||
<span class="description"><?= e(trans($item->description)) ?></span>
|
||||
</a>
|
||||
@ -49,4 +54,4 @@
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
Reference in New Issue
Block a user