Skip to content

Commit 25ca49d

Browse files
committed
NEW: Display Actual Colors and Compatibility with ColorManager
- #14 - Show all colors from ColorManager https://github.com/aljawaid/ColorManager
1 parent e148884 commit 25ca49d

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

Diff for: Assets/css/automatic-action-ux.css

+6
Original file line numberDiff line numberDiff line change
@@ -386,3 +386,9 @@ ul#BoardViews li:last-of-type {
386386
margin-left: 5px;
387387
margin-right: 5px;
388388
}
389+
390+
.action-color-value {
391+
border: 1px solid;
392+
padding: 1px 4px;
393+
border-radius: var(--border-radius-aa);
394+
}

Diff for: README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Screenshots
3636

3737
![Error Messages](../master/screenshot-error-messages.png "Error Messages")
3838

39+
**Colored Options** _- compatible with [ColorManager](https://github.com/aljawaid/ColorManager)_
40+
41+
![Colored Options](../master/screenshot-colored-options.png "Colored Options")
42+
3943
Usage
4044
-------------
4145

@@ -48,7 +52,7 @@ Compatibility
4852
- Requires [Kanboard](https://github.com/fguillot/kanboard "Kanboard - Kanban Project Management Software")`1.2.20`
4953

5054
#### Other Plugins & Action Plugins
51-
- Compatible with [KanboardEmailHistory](https://github.com/aljawaid/KanboardEmailHistory), [KanboardCSS](https://github.com/aljawaid/KanboardCSS), [AutoSubtasks](https://github.com/creecros/AutoSubtasks)
55+
- Compatible with [KanboardEmailHistory](https://github.com/aljawaid/KanboardEmailHistory), [KanboardCSS](https://github.com/aljawaid/KanboardCSS), [AutoSubtasks](https://github.com/creecros/AutoSubtasks), [ColorManager](https://github.com/aljawaid/ColorManager)
5256
#### Core Files & Templates
5357
- `01` Template override
5458
- _No database changes_

Diff for: Template/action/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@
399399
<?php elseif ($this->text->contains($param_name, 'project_id')): ?>
400400
<?= $this->text->in($param_value, $projects_list) ?>
401401
<?php elseif ($this->text->contains($param_name, 'color_id')): ?>
402-
<?= $this->text->in($param_value, $colors_list) ?>
402+
<span class="action-color-value action-color-<?= (strtolower(str_replace(' ', '_', $this->text->in($param_value, $colors_list)))) ?>"><?= $this->text->in($param_value, $colors_list) ?></span>
403403
<?php elseif ($this->text->contains($param_name, 'category_id')): ?>
404404
<?= $this->text->in($param_value, $categories_list) ?>
405405
<?php elseif ($this->text->contains($param_name, 'link_id')): ?>

Diff for: screenshot-colored-options.png

21.5 KB
Loading

0 commit comments

Comments
 (0)