summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-05-05 14:24:02 +0200
committeremkael <emkael@tlen.pl>2020-05-05 14:24:02 +0200
commit7b66ddf2e4fbdb837e78d8b7dbaa9fc38391bc32 (patch)
tree378bfd354719b688b8385d7c6597d545487f6f1b /app
parentf5cc2aa17be9ba376002e20eb62bc1217f6667e8 (diff)
Hiding internal/external task links by default
Diffstat (limited to 'app')
-rw-r--r--app/Template/task_external_link/show.php2
-rw-r--r--app/Template/task_internal_link/show.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task_external_link/show.php b/app/Template/task_external_link/show.php
index 1bb89970..3a323706 100644
--- a/app/Template/task_external_link/show.php
+++ b/app/Template/task_external_link/show.php
@@ -1,4 +1,4 @@
-<details class="accordion-section" <?= empty($links) ? '' : 'open' ?>>
+<details class="accordion-section">
<summary class="accordion-title"><?= t('External links') ?></summary>
<div class="accordion-content">
<?= $this->render('task_external_link/table', array(
diff --git a/app/Template/task_internal_link/show.php b/app/Template/task_internal_link/show.php
index e5c03898..e6e05836 100644
--- a/app/Template/task_internal_link/show.php
+++ b/app/Template/task_internal_link/show.php
@@ -1,4 +1,4 @@
-<details class="accordion-section" <?= empty($links) ? '' : 'open' ?>>
+<details class="accordion-section">
<summary class="accordion-title"><?= t('Internal links') ?></summary>
<div class="accordion-content">
<?= $this->render('task_internal_link/table', array(