mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 00:26:34 +03:00
Unify params table for no-params case
This commit is contained in:
parent
93d7d98ad7
commit
5c49fc49f0
|
@ -1,17 +1,23 @@
|
|||
<small class="no-params" *ng-if="data.noParams"> No parameters </small>
|
||||
<!-- General parameters -->
|
||||
<table *ng-if="!data.noParams" class="inline">
|
||||
<table class="inline">
|
||||
<!-- No params -->
|
||||
<tr *ng-if="data.noParams">
|
||||
<td colspan="3">
|
||||
<small class="no-params" > No parameters </small>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="3"> Parameters </th>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr *ng-if="!data.noParams">
|
||||
<th> Name </th>
|
||||
<th> Description </th>
|
||||
<th> Type </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- General parameters -->
|
||||
<tr *ng-for="#param of data.params">
|
||||
<!--<div class="param">-->
|
||||
<td class="param-name">{{param.name}}</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user