aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/dates/_topic_li.php
blob: 88e267fb961a93c24bd0c679ed7cf70585055545 (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')->asImg(['class' => 'text-bottom']) ?>
        <?= htmlReady($topic['title']) ?>
    </a>
<? if ($has_access) : ?>
    <a href="#" onClick="STUDIP.Dates.removeTopicFromIcon.call(this); return false;">
        <?= Icon::create('trash')->asImg(['class' => 'text-bottom'] + tooltip2(_('Thema entfernen'))) ?>
    </a>
<? endif ?>
</li>