15 lines
933 B
PHP
15 lines
933 B
PHP
<?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-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-calendar" style="color: #e08e0b;" role="img" aria-label="<?= t('RecoReco: generated copy') ?>"></i>
|
|
</span>
|
|
<?php endif ?>
|