icon yellow/blue
This commit is contained in:
@@ -1,10 +1,14 @@
|
|||||||
<?php $type = $this->RecoRecoHelper->iconType($task) ?>
|
<?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'): ?>
|
<?php if ($type === 'template'): ?>
|
||||||
<span title="<?= t('RecoReco: recurring 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>
|
</span>
|
||||||
<?php elseif ($type === 'clone'): ?>
|
<?php elseif ($type === 'clone'): ?>
|
||||||
<span title="<?= t('RecoReco: generated copy') ?>">
|
<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>
|
</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user