summaryrefslogtreecommitdiff
path: root/app/Template/task_comments
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_comments')
-rw-r--r--app/Template/task_comments/show.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/Template/task_comments/show.php b/app/Template/task_comments/show.php
index 47bb5ff2..9010437c 100644
--- a/app/Template/task_comments/show.php
+++ b/app/Template/task_comments/show.php
@@ -1,7 +1,5 @@
-<section class="accordion-section <?= empty($comments) ? 'accordion-collapsed' : '' ?>">
- <div class="accordion-title">
- <h3><a href="#" class="fa accordion-toggle"></a> <?= t('Comments') ?></h3>
- </div>
+<details class="accordion-section" <?= empty($comments) ? '' : 'open' ?>>
+ <summary class="accordion-title"><?= t('Comments') ?></summary>
<div class="accordion-content comments" id="comments">
<?php if (!isset($is_public) || !$is_public): ?>
<div class="comment-sorting">
@@ -35,4 +33,4 @@
)) ?>
<?php endif ?>
</div>
-</section>
+</details>