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