-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2db250
commit f323111
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<!-- Layout --> | ||
# Layout - {{name}} | ||
|
||
- Full Name: {{fullName}} | ||
- Name: {{name}} | ||
- Exclude Buttons: {{Layout.excludeButtons}} | ||
|
||
{{#each Layout.layoutSections}} | ||
### {{label}} | ||
- Custom Label: {{customLabel}} | ||
- Detail Heading: {{detailHeading}} | ||
- Edit Heading: {{editHeading}} | ||
- Label: {{label}} | ||
|
||
{{#if (eq style "OneColumn")}} | ||
{{#if layoutColumns.layoutItems}} | ||
| Field | | ||
|-------------------| | ||
{{#each (toArray layoutColumns.layoutItems)}} | ||
| {{field}} | | ||
{{/each}} | ||
{{else}} | ||
No layout columns specified. | ||
{{/if}} | ||
{{else if (eq style "CustomLinks")}} | ||
{{#if layoutColumns}} | ||
{{#each (toArray layoutColumns)}} | ||
{{#if (eq . "")}} | ||
{{else}} | ||
- {{.}} | ||
{{/if}} | ||
{{/each}} | ||
{{else}} | ||
No custom links specified. | ||
{{/if}} | ||
{{else}} | ||
{{#if (isArray (toArray layoutColumns.[0].layoutItems))}} | ||
| Column 1 | Column 2 | | ||
|-------------------|-----------| | ||
{{#each (toArray layoutColumns.[0].layoutItems)}} | ||
{{#with (lookup (toArray ../layoutColumns.[1].layoutItems) @index)}} | ||
| {{../field}} ({{../behavior}}) | {{field}} ({{behavior}}) | | ||
{{/with}} | ||
{{/each}} | ||
{{else}} | ||
No layout columns specified. | ||
{{/if}} | ||
{{/if}} | ||
|
||
Style: {{style}} | ||
|
||
{{/each}} | ||
|
||
<!-- Related Lists --> | ||
## Related Lists | ||
|
||
- Fields: {{Layout.relatedLists.fields}} | ||
- Related List: {{Layout.relatedLists.relatedList}} | ||
|
||
<!-- Summary Layout --> | ||
## Summary Layout | ||
|
||
- Master Label: {{Layout.summaryLayout.masterLabel}} | ||
- Size X: {{Layout.summaryLayout.sizeX}} | ||
- Size Y: {{Layout.summaryLayout.sizeY}} | ||
- Summary Layout Style: {{Layout.summaryLayout.summaryLayoutStyle}} | ||
|