summaryrefslogtreecommitdiff
path: root/app/Template/task_file/images.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-04-20 15:18:30 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-04-20 15:18:30 -0700
commit5996a8abcf12336586cee345180203dd1500c92f (patch)
tree83b5c32b6ab8610d6607b9b5486d55a40225c505 /app/Template/task_file/images.php
parent927607b5ff106224e49b63adc58454ffef2e2504 (diff)
Rewrite tooltips code without jQuery
Diffstat (limited to 'app/Template/task_file/images.php')
-rw-r--r--app/Template/task_file/images.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Template/task_file/images.php b/app/Template/task_file/images.php
index 9d20dea0..c03e5648 100644
--- a/app/Template/task_file/images.php
+++ b/app/Template/task_file/images.php
@@ -30,9 +30,7 @@
</div>
</div>
<div class="file-thumbnail-description">
- <span class="tooltip" title='<?= t('Uploaded: %s', $this->dt->datetime($file['date'])).'<br>'.t('Size: %s', $this->text->bytes($file['size'])) ?>'>
- <i class="fa fa-info-circle"></i>
- </span>
+ <?= $this->app->tooltipMarkdown(t('Uploaded: %s', $this->dt->datetime($file['date']))."\n\n".t('Size: %s', $this->text->bytes($file['size']))) ?>
<?php if (! empty($file['user_id'])): ?>
<?= t('Uploaded by %s', $file['user_name'] ?: $file['username']) ?>
<?php else: ?>