if (!$is_locked) : ?>
|
>
|
endif ?>
= sprintf('%02u', ++$nr) ?> |
= $last_visitdate) echo 'class="new-member"'; ?>>
= Avatar::getAvatar($accept['user_id'], $accept['username'])->getImageTag(
Avatar::SMALL,
[
'style' => 'margin-right: 5px'
]
) ?>
= htmlReady($fullname) ?>
if ($accept['comment']): ?>
= tooltipHtmlIcon(sprintf(
'%s %s',
_('Bemerkung'),
htmlReady($accept['comment'])
)) ?>
endif ?>
|
if (!empty($accept['mkdate'])) : ?>
= strftime('%x %X', $accept['mkdate'])?>
endif ?>
|
= $this->render_partial('course/members/_studycourse.php', [
'studycourses' => new SimpleCollection(UserStudyCourse::findByUser($accept['user_id']))
]) ?>
|
$actionMenu = ActionMenu::get()->setContext($fullname) ?>
$actionMenu->addLink(
$controller->url_for('course/members/add_comment/' . $accept['user_id']),
_('Bemerkung hinzufügen'),
Icon::create('comment'),
['data-dialog' => 'size=auto']
) ?>
if ($user_id !== $accept['user_id']) : ?>
$actionMenu->addLink(
URLHelper::getURL('dispatch.php/messages/write',[
'filter' => 'send_sms_to_all',
'emailrequest' => 1,
'rec_uname' => $accept['username'],
'default_subject' => $subject,
]),
_('Nachricht mit Mailweiterleitung senden'),
Icon::create(
'mail',
Icon::ROLE_CLICKABLE,
[
'title' => sprintf('Nachricht mit Weiterleitung an %s senden', $fullname)
]
),
['data-dialog' => '']
) ?>
endif?>
if (!$is_locked) : ?>
$actionMenu->addLink(
$controller->url_for('course/members/cancel_subscription/singleuser/accepted/' . $accept['user_id']),
_('Aus Veranstaltung austragen'),
Icon::create(
'door-leave',
Icon::ROLE_CLICKABLE,
[
'title' => sprintf(_('%s austragen'), $fullname)
]
)
) ?>
endif ?>
= $actionMenu->render() ?>
|
endforeach ?>