Skip to content

Commit

Permalink
Table name : type concat
Browse files Browse the repository at this point in the history
  • Loading branch information
klasjersevi committed Jun 12, 2019
1 parent c946bed commit e5f0101
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion partials/all-docs/docs/body/params/param-table-name.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#if optional}}[{{/if~}}
{{#if variable}}...{{/if~}}
{{{name}~}}
{{{name}}} : {{>linked-type-list types=type.names delimiter=" : " html=true~}}
{{#if optional}}]{{/if}}
11 changes: 5 additions & 6 deletions partials/all-docs/docs/body/params/params-table-html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@
<table class="table">
<thead>
<tr>
{{#each (tableHeadHtml params "name|Param" "type|Type" "defaultvalue|Default" "description|Description")}}<th scope="col">{{this}}</th>{{/each}}
{{#each (tableHeadHtml params "name|Param" "defaultvalue|Default" "description|Description")}}<th scope="col">{{this}}</th>{{/each}}
</tr>
</thead>
<tbody>
{{#tableRow params "name" "type" "defaultvalue" "description" ~}}
{{#tableRow params "name" "defaultvalue" "description" ~}}
<tr>
{{#if @col1}}<td>{{>param-table-name}}</td>{{/if~}}
{{#if @col2}}<td>{{>linked-type-list types=type.names delimiter=" | " html=true}}</td>{{/if~}}
{{#if @col3}}<td>{{>defaultvalue}}</td>{{/if~}}
{{#if @col4}}<td>{{{md (inlineLinks description)}}}</td>{{/if}}
{{#if @col1}}<td class="text-nowrap">{{>param-table-name}}</td>{{/if~}}
{{#if @col2}}<td class="text-nowrap">{{>defaultvalue}}</td>{{/if~}}
{{#if @col3}}<td>{{{md (inlineLinks description)}}}</td>{{/if}}
</tr>
{{~/tableRow}}
</tbody>
Expand Down
11 changes: 5 additions & 6 deletions partials/all-docs/docs/body/properties/properties-table-html.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
<table class="table">
<thead>
<tr>
{{#each (tableHeadHtml properties "name|Name" "type|Type" "defaultvalue|Default" "description|Description")}}<th>{{this}}</th>{{/each}}
{{#each (tableHeadHtml properties "name|Name" "defaultvalue|Default" "description|Description")}}<th>{{this}}</th>{{/each}}
</tr>
</thead>
<tbody>
{{#tableRow properties "name" "type" "defaultvalue" "description" ~}}
{{#tableRow properties "name" "defaultvalue" "description" ~}}
<tr>
{{#if @col1}}<td>{{>param-table-name}}</td>{{/if~}}
{{#if @col2}}<td>{{>linked-type-list types=type.names delimiter=" | " html=true}}</td>{{/if~}}
{{#if @col3}}<td>{{>defaultvalue}}</td>{{/if~}}
{{#if @col4}}<td>{{{md (inlineLinks description)}}}</td>{{/if}}
{{#if @col1}}<td class="text-nowrap">{{>param-table-name}}</td>{{/if~}}
{{#if @col2}}<td class="text-nowrap">{{>defaultvalue}}</td>{{/if~}}
{{#if @col3}}<td>{{{md (inlineLinks description)}}}</td>{{/if}}
</tr>
{{~/tableRow}}
</tbody>
Expand Down

0 comments on commit e5f0101

Please sign in to comment.