only show other roles if present on mc apps

This commit is contained in:
Westly Wright 2019-03-04 16:42:50 -07:00
parent d5806915bf
commit 3661255133
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
1 changed files with 16 additions and 14 deletions

View File

@ -23,17 +23,19 @@
</label>
</div>
</div>
<div class="col span-6">
<label class="acc-label">
{{t "newMultiClusterApp.roles.additionalRoles"}}
</label>
<table class="table fixed no-lines mt-5 mb-10">
<tbody>
{{#each otherRoles as |role|}}
<tr>
<td>{{role}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
{{#if otherRoles.length}}
<div class="col span-6">
<label class="acc-label">
{{t "newMultiClusterApp.roles.additionalRoles"}}
</label>
<table class="table fixed no-lines mt-5 mb-10">
<tbody>
{{#each otherRoles as |role|}}
<tr>
<td>{{role}}</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
{{/if}}