Helpers
1. Format Timestamp
{{ ticket.created_at | date: "%a, %b %d, %y" }}
converts timestamp to Tue, Apr 22, 14
.
2. Default
Uses default value when a variable has empty value.
{{ ticket.agent.first_name | default: "Not Assigned" }}
prints Not Assigned
when a ticket is not assigned to any agent.
3. Link to text using placeholder
In order to add dynamic link to text, type in placeholder variable in the link field. Refer screenshot for example: