Files
workbox/infra/templates/reference-docs/jsdoc/views/details-table-row.hbs
T
Jeffrey PosnickandGitHub 9d88f2abae The contents of v3, reconciled with master (#1357)
* The contents of v3, reconciled with master.

* Remove a few stray files.

* Another extra file.

* Two more deletions.

* Setting up for stable release

* v3.0.0

* Updating CDN and versions

* Doc repair for wf (#1358)

* Changing doc structure to work with WF

* Changing doc structure to work with WF
2018-03-13 15:20:33 -04:00

41 lines
1.2 KiB
Handlebars

<tr>
{{#block 'details-table-name'}}
<td {{~cssClass '!details-table-name'}}>
<p>{{#if name}}{{name}}{{else}}{{translate 'tables.notApplicable'}}{{/if}}</p>
</td>
{{/block}}
<td>
{{#block 'details-table-optional'}}
{{#if optional}}
<p {{~cssClass '!details-table-optional'}}>{{translate 'tables.body.isOptional'}}</p>
{{/if}}
{{/block}}
{{#block 'details-table-types'}}
{{#if type}}
{{#all type type.parsedType}}
<p {{~cssClass '!details-table-types'}}>{{describeType type.parsedType 'extended'}}</p>
{{/all}}
{{/if}}
{{/block}}
{{#block 'details-table-description'}}
{{#if description}}
{{#markdown}}{{resolveLinks description}}{{/markdown}}
{{/if}}
{{#if (hasModifiers this)}}
<p>{{modifierText this}}</p>
{{/if}}
{{#if ../children}}
<p>{{translate 'tables.body.eachValueHasProperties' name=name}}</p>
{{#withOnly values=../children}}
{{#embed 'details-table'}}{{/embed}}
{{/withOnly}}
{{/if}}
{{/block}}
</td>
</tr>
{{!-- This produces extra <p>'s in the output
<p {{~cssClass '!details-table-description'}}>
{{#markdown}}{{resolveLinks description}}{{/markdown}}</p>
--}}