Replies: 2 comments
-
If I'm not mistaken, concern 1 should be possible since version 10.4 at the latest. Provided you use a sheet to display the data. In it you could set the color of a row depending on a record field (e.g. updated). |
Beta Was this translation helpful? Give feedback.
-
Hi @webofunni !
You can do something like this. Data query: type:worklist.records
of:ticket
expand: [custom_,]
query:(
status:o
limit:15
sort:[updated]
)
format:dictionaries Sheet schema (KATA): layout:
style: table
headings@bool: yes
paging@bool: yes
colors:
rainbow12@csv: #6e40aa, #b83cb0, #f6478d, #ff6956, #f59f30, #c4d93e, #83f557, #38f17a, #19d3b5, #29a0dd, #5069d9, #6e40aa
columns:
card/_label:
label: Ticket
params:
image@bool: yes
bold@bool: yes
card/group__label:
text/delay:
label: Last Update
params:
value_template@raw: {{('now'|date('U') - updated)|secs_pretty(1)}}
color@raw:
{% set secs = ('now'|date('U') - updated) %}
{% if secs < 1800 %}rainbow12:0{% elseif secs < 3600 %}rainbow12:1{% endif %} Alternatively you can use You can add the
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I am coming from Kayako. I do like the flexibility and customization of Cerb. But as a newbie, the amount of customization available in cerb is overwhelming.
I am trying to recreate some interface of Kayako ticketing system.
Currently, I am creating a separate widget for that. But is it possible to change the color of specific raw in data query results?
Beta Was this translation helpful? Give feedback.
All reactions