Compare commits
2 Commits
master
...
feature/bs
| Author | SHA1 | Date |
|---|---|---|
|
|
29d3750f75 | |
|
|
399697eafb |
|
|
@ -11,12 +11,15 @@
|
|||
<div>Тип поля</div>
|
||||
<div class="text-centered">Описание</div>
|
||||
<div>Обязательность</div>
|
||||
<div>Сервис</div>
|
||||
<div>Название поля сервиса</div>
|
||||
</div>
|
||||
{% for field in structure.allFieldsUnordered -%}
|
||||
{%- include 'field-row.html.twig' with {
|
||||
field: field,
|
||||
objectsLinks: objectsLinks,
|
||||
useAnchors: useAnchors
|
||||
useAnchors: useAnchors,
|
||||
useServiceField: true
|
||||
} %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -45,4 +45,8 @@
|
|||
</div>
|
||||
<div>{{ field.description }}</div>
|
||||
<div>{{ utils.optionalDescription(field.optional) }}</div>
|
||||
{% if useServiceField %}
|
||||
<div>{{ field.service }}</div>
|
||||
<div>{{ field.serviceField }}</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
@ -31,7 +31,8 @@
|
|||
{%- include 'field-row.html.twig' with {
|
||||
field: field,
|
||||
objectsLinks: objectsLinks,
|
||||
useAnchors: useAnchors
|
||||
useAnchors: useAnchors,
|
||||
useServiceField: false
|
||||
} %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@
|
|||
{%- include 'field-row.html.twig' with {
|
||||
field: field,
|
||||
objectsLinks: objectsLinks,
|
||||
useAnchors: useAnchors
|
||||
useAnchors: useAnchors,
|
||||
useServiceField: false
|
||||
} %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
|
@ -45,7 +46,8 @@
|
|||
{%- include 'field-row.html.twig' with {
|
||||
field: field,
|
||||
objectsLinks: objectsLinks,
|
||||
useAnchors: useAnchors
|
||||
useAnchors: useAnchors,
|
||||
useServiceField: false
|
||||
} %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
|
@ -66,7 +68,8 @@
|
|||
{%- include 'field-row.html.twig' with {
|
||||
field: field,
|
||||
objectsLinks: objectsLinks,
|
||||
useAnchors: useAnchors
|
||||
useAnchors: useAnchors,
|
||||
useServiceField: false
|
||||
} %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
|
@ -141,12 +144,15 @@
|
|||
<div>Тип</div>
|
||||
<div class="text-centered">Описание</div>
|
||||
<div>Обязательность</div>
|
||||
<div>Сервис</div>
|
||||
<div>Название поля сервиса</div>
|
||||
</div>
|
||||
{% for field in method.responseFields -%}
|
||||
{%- include 'field-row.html.twig' with {
|
||||
field: field,
|
||||
objectsLinks: objectsLinks,
|
||||
useAnchors: useAnchors
|
||||
useAnchors: useAnchors,
|
||||
useServiceField: true
|
||||
} %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
|
@ -168,7 +174,8 @@
|
|||
{%- include 'field-row.html.twig' with {
|
||||
field: field,
|
||||
objectsLinks: objectsLinks,
|
||||
useAnchors: useAnchors
|
||||
useAnchors: useAnchors,
|
||||
useServiceField: false
|
||||
} %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue