-
Notifications
You must be signed in to change notification settings - Fork 2
/
entity-field-sd-compact.jigx
42 lines (39 loc) · 1.26 KB
/
entity-field-sd-compact.jigx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
title: Entity Fields
description: Jig to display entity fields
type: jig.default
header:
type: component.jig-header
options:
height: medium
children:
type: component.image
options:
source:
uri: =@ctx.datasources.repair-services-static[id=1].image
children:
- type: component.entity
options:
isCompact: true
children:
- type: component.entity-field
options:
label: Service
value: =@ctx.datasources.repair-services-static[id=1].service
- type: component.entity-field
options:
label: Hourly Rate
value: =@ctx.datasources.repair-services-static[id=1].hourlyRate
- type: component.entity-field
options:
label: Time
value: =@ctx.datasources.repair-services-static[id=1].time & ' minutes'
- type: component.entity-field
options:
label: Materials
value: =(@ctx.datasources.repair-services-static[id=1].materials = 'True' ? true :false)
contentType: checkbox
- type: component.entity-field
options:
label: Description
value: =@ctx.datasources.repair-services-static[id=1].description
isMultiline: true