summaryrefslogtreecommitdiff
path: root/app/Template/task_external_link/table.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-19 18:05:42 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-19 18:05:42 -0400
commit787e91ca415ff2282a1b3328c6a1b28b23596ddc (patch)
treeac127cdb6dd9cbb2066c9e0a17fa58f3ee94db15 /app/Template/task_external_link/table.php
parent1ad57c74732e4463cfa5051e975c54f4e65d7e09 (diff)
Do not show empty table for external links
Diffstat (limited to 'app/Template/task_external_link/table.php')
-rw-r--r--app/Template/task_external_link/table.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/task_external_link/table.php b/app/Template/task_external_link/table.php
index d1cdeca1..1f32f4dd 100644
--- a/app/Template/task_external_link/table.php
+++ b/app/Template/task_external_link/table.php
@@ -1,3 +1,4 @@
+<?php if (! empty($links)): ?>
<table class="table-stripped table-small">
<tr>
<th class="column-10"><?= t('Type') ?></th>
@@ -39,4 +40,5 @@
<?php endif ?>
</tr>
<?php endforeach ?>
-</table> \ No newline at end of file
+</table>
+<?php endif ?>