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