icon yellow/blue

This commit is contained in:
2026-07-13 12:14:11 -03:00
parent ba4a2fbbd0
commit f5d5ffa7c9

View File

@@ -1,10 +1,14 @@
<?php $type = $this->RecoRecoHelper->iconType($task) ?>
<?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. */ ?>
<?php if ($type === 'template'): ?>
<span title="<?= t('RecoReco: recurring template') ?>">
<i class="fa fa-refresh fa-rotate-90" role="img" aria-label="<?= t('RecoReco: recurring template') ?>"></i>
<i class="fa fa-calendar" style="color: #1f4e99;" role="img" aria-label="<?= t('RecoReco: recurring template') ?>"></i>
</span>
<?php elseif ($type === 'clone'): ?>
<span title="<?= t('RecoReco: generated copy') ?>">
<i class="fa fa-refresh fa-rotate-90 fa-inverse" role="img" aria-label="<?= t('RecoReco: generated copy') ?>"></i>
<i class="fa fa-calendar" style="color: #e08e0b;" role="img" aria-label="<?= t('RecoReco: generated copy') ?>"></i>
</span>
<?php endif ?>