src/components/apps/cloud/ticket-detail/app-ticket-detail/status-tags
// src/components/apps/cloud/ticket-detail/app-ticket-detail/status-tags/schema.yaml
$schema: http://json-schema.org/draft-07/schema
$id: https://finstral.com/apps/cloud/ticket-detail/app-ticket-detail/status-tags
type: object
required:
- status_tags
additionalProperties: false
properties:
status_tags:
$ref: https://finstral.com/apps/cloud/ticket-detail#StatusTagsSchema
// src/components/apps/cloud/ticket-detail/app-ticket-detail/status-tags/mocks.yaml
status_tags:
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Neutral
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Success
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Critical
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Activity
// src/components/apps/cloud/ticket-detail/app-ticket-detail/status-tags/status-tags.twig
<ul class="StatusTags u-typo-TextS">
{% for tag in status_tags %}
<li>
{% include "@apps/cloud/ticket-overview/app-ticket-overview/status-tag/status-tag.twig" with tag only %}
</li>
{% endfor %}
</ul>
default mock data
status_tags:
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Neutral
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Success
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Critical
- $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Activity