Skip to content

Commit 3df80fa

Browse files
committed
WIP
1 parent ecd7002 commit 3df80fa

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

templates/clients/show.twig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,23 +246,31 @@
246246
{{ 'Grant Types'|trans }}
247247
</td>
248248
<td>
249+
{% if client.grantTypes is not empty %}
249250
<ul class="disc">
250251
{% for grantType in client.grantTypes %}
251252
<li>{{ grantType }}</li>
252253
{% endfor %}
253254
</ul>
255+
{% else %}
256+
{{ 'N/A'|trans }}
257+
{% endif %}
254258
</td>
255259
</tr>
256260
<tr>
257261
<td class="client-col col-property">
258262
{{ 'Response Types'|trans }}
259263
</td>
260264
<td>
265+
{% if client.responseTypes is not empty %}
261266
<ul class="disc">
262267
{% for responseType in client.responseTypes %}
263268
<li>{{ responseType }}</li>
264269
{% endfor %}
265270
</ul>
271+
{% else %}
272+
{{ 'N/A'|trans }}
273+
{% endif %}
266274
</td>
267275
</tr>
268276
<tr>

0 commit comments

Comments
 (0)