aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/dates/_topic_li.php
blob: 9353ddb340110af577d22ecb795053dde6990588 (plain)
1
2
3
4
5
6
7
8
9
10
11
<li data-issue_id="<?= $topic->id ?>" class="topic_<?= $date->id ?>_<?= $topic->id ?>">
    <a href="<?= $controller->url_for("course/topics#{$topic->id}", ['open' => $topic->id]) ?>" class="title">
        <?= Icon::create('topic')->asSvg(['class' => 'text-bottom']) ?>
        <?= htmlReady($topic['title']) ?>
    </a>
<? if ($has_access) : ?>
    <a href="#" onClick="STUDIP.Dates.removeTopicFromIcon.call(this); return false;">
        <?= Icon::create('trash')->asSvg(['class' => 'text-bottom'] + tooltip2(_('Thema entfernen'))) ?>
    </a>
<? endif ?>
</li>