1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 07:54:24 +03:00
ifhub.club/application/frontend/components/poll/poll.manage.item.tpl
2015-10-27 16:02:57 +07:00

24 lines
1 KiB
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.

{**
* Добавленный опрос в блоке управления опросами
*
* @param ModulePoll_EntityPoll $poll Опрос
*}
<li class="ls-poll-manage-item js-poll-manage-item" data-poll-id="{$poll->getId()}" data-poll-target-tmp="{$poll->getTargetTmp()}">
{* Заголовок *}
{$poll->getTitle()}
{* Действия *}
<ul class="user-list-small-item-actions">
{* Редактировать *}
{* Показывает модальное окно с формой редактирования опроса *}
<li class="js-poll-manage-item-edit" title="{$aLang.common.edit}" data-poll-id="{$poll->getId()}" data-poll-target-tmp="{$poll->getTargetTmp()}">
{component 'icon' icon='edit'}
</li>
{* Удалить *}
<li class="js-poll-manage-item-remove" title="{$aLang.common.remove}" data-poll-id="{$poll->getId()}" data-poll-target-tmp="{$poll->getTargetTmp()}">
{component 'icon' icon='remove'}
</li>
</ul>
</li>