-
Notifications
You must be signed in to change notification settings - Fork 2
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
3882a3d
commit eb25b1a
Showing
2 changed files
with
8 additions
and
8 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
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 |
---|---|---|
@@ -1,37 +1,37 @@ | ||
{{- with .Display -}} | ||
{{- with .Name -}} | ||
<tr width=600><th>Name:</th><td>{{ . }}</td></tr> | ||
<tr><th>Name:</th><td>{{ . }}</td></tr> | ||
{{- end -}} | ||
{{- with .Description -}} | ||
<tr><th>Description:</th><td width="500">{{ . }}</td></tr> | ||
{{- end -}} | ||
{{- end -}} | ||
<tr width=600><th>Required:</th><td>{{- if .Required }}Yes{{ else }}No{{ end }}</td></tr> | ||
{{- with .Default }}<tr width=600><th>Default (JSON encoded):</th><td><pre><code>{{ . }}</code></pre></td></tr>{{ end -}} | ||
{{- with .RequiredIf }}<tr width=600><th>Required if the following fields are set:</th><td> | ||
<tr><th>Required:</th><td>{{- if .Required }}Yes{{ else }}No{{ end }}</td></tr> | ||
{{- with .Default }}<tr><th>Default (JSON encoded):</th><td><pre><code>{{ . }}</code></pre></td></tr>{{ end -}} | ||
{{- with .RequiredIf }}<tr><th>Required if the following fields are set:</th><td> | ||
{{- $first := true -}} | ||
{{- range . -}} | ||
{{- if $first -}} | ||
{{- $first = false -}} | ||
{{- else -}}, {{ end -}} | ||
{{ . -}} | ||
{{- end }}</td></tr>{{ end -}} | ||
{{- with .RequiredIfNot }}<tr width=600><th>Required if the following fields are not set:</th><td> | ||
{{- with .RequiredIfNot }}<tr><th>Required if the following fields are not set:</th><td> | ||
{{- $first := true -}} | ||
{{- range . -}} | ||
{{- if $first -}} | ||
{{- $first = false -}} | ||
{{- else -}}, {{ end -}} | ||
{{ . -}} | ||
{{- end }}</td></tr>{{ end -}} | ||
{{- with .Conflicts }}<tr width=600><th>Conflicts the following fields:</th><td> | ||
{{- with .Conflicts }}<tr><th>Conflicts the following fields:</th><td> | ||
{{- $first := true -}} | ||
{{- range . -}} | ||
{{- if $first -}} | ||
{{- $first = false -}} | ||
{{- else -}}, {{ end -}} | ||
{{ . -}} | ||
{{- end }}</td></tr>{{ end -}} | ||
{{- with .Examples }}<tr width=600><th>Examples (JSON encoded):</th><td> | ||
{{- with .Examples }}<tr><th>Examples (JSON encoded):</th><td> | ||
{{ range . }}<pre><code>{{ . }}</code></pre>{{ end }} | ||
</td></tr>{{ end -}} |