2026-07-08 00:07:25 -03:00
|
|
|
<?php $type = $this->RecoRecoHelper->iconType($task) ?>
|
2026-07-13 12:14:11 -03:00
|
|
|
<?php /* Calendar glyph (RecoReco is calendar recurrence), coloured by role so the template and its
|
|
|
|
|
copies are distinct at a glance, and distinct from Kanboard's native refresh recurrence icon:
|
|
|
|
|
dark blue = the recurring template (original), orange/dark-yellow = a generated copy.
|
|
|
|
|
Inline colour is CSP-safe (style-src allows 'unsafe-inline'); no stylesheet needed. */ ?>
|
2026-07-08 00:07:25 -03:00
|
|
|
<?php if ($type === 'template'): ?>
|
|
|
|
|
<span title="<?= t('RecoReco: recurring template') ?>">
|
2026-07-13 12:14:11 -03:00
|
|
|
<i class="fa fa-calendar" style="color: #1f4e99;" role="img" aria-label="<?= t('RecoReco: recurring template') ?>"></i>
|
2026-07-08 00:07:25 -03:00
|
|
|
</span>
|
|
|
|
|
<?php elseif ($type === 'clone'): ?>
|
|
|
|
|
<span title="<?= t('RecoReco: generated copy') ?>">
|
2026-07-13 12:14:11 -03:00
|
|
|
<i class="fa fa-calendar" style="color: #e08e0b;" role="img" aria-label="<?= t('RecoReco: generated copy') ?>"></i>
|
2026-07-08 00:07:25 -03:00
|
|
|
</span>
|
|
|
|
|
<?php endif ?>
|