summaryrefslogtreecommitdiff
path: root/app/Template/task_file
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_file')
-rw-r--r--app/Template/task_file/show.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/Template/task_file/show.php b/app/Template/task_file/show.php
index df69605d..e9723f0d 100644
--- a/app/Template/task_file/show.php
+++ b/app/Template/task_file/show.php
@@ -1,9 +1,7 @@
-<section class="accordion-section <?= empty($files) && empty($images) ? 'accordion-collapsed' : '' ?>">
- <div class="accordion-title">
- <h3><a href="#" class="fa accordion-toggle"></a> <?= t('Attachments') ?></h3>
- </div>
+<details class="accordion-section" <?= empty($files) && empty($images) ? '' : 'open' ?>>
+ <summary class="accordion-title"><?= t('Attachments') ?></summary>
<div class="accordion-content">
<?= $this->render('task_file/images', array('task' => $task, 'images' => $images)) ?>
<?= $this->render('task_file/files', array('task' => $task, 'files' => $files)) ?>
</div>
-</section>
+</details>