1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 09:18:18 +03:00
ifhub.club/application/frontend/components/comment/comment-info-item.tpl
Denis Shakhov e47fd3afe5 Доработка комментариев
Добавлены отдельные шаблоны для действий и инфы для удобства добавления пунктов через плагины
2016-07-15 12:17:53 +07:00

16 lines
457 B
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Пункт с информацией
*}
{$component = 'ls-comment-info-item'}
{component_define_params params=[ 'text', 'link', 'mods', 'classes', 'attributes' ]}
<li class="{$component} {cmods name=$component mods=$mods} {$classes}" {cattr list=$attributes}>
{if $link}
<a href="{$link.url|default:'#'}" class="{$link.classes}" {cattr list=$link.attributes}>
{$text}
</a>
{else}
{$text}
{/if}
</li>