mirror of https://github.com/status-im/consul.git
35 lines
761 B
Handlebars
35 lines
761 B
Handlebars
|
{{#if (gt items.length 0)}}
|
||
|
<div class="consul-intention-permission-list">
|
||
|
<ul>
|
||
|
{{#each items as |item|}}
|
||
|
<li>
|
||
|
<strong class={{concat 'intent-' item.Action}}>{{item.Action}}</strong>
|
||
|
{{#if item.Http.Path}}
|
||
|
<dl class="route-path">
|
||
|
<dt>
|
||
|
<Tooltip>
|
||
|
{{item.Http.PathType}}
|
||
|
</Tooltip>
|
||
|
</dt>
|
||
|
<dd>
|
||
|
{{item.Http.Path}}
|
||
|
</dd>
|
||
|
</dl>
|
||
|
{{/if}}
|
||
|
{{#each item.Http.Header as |item|}}
|
||
|
<dl class="route-header">
|
||
|
<dt>
|
||
|
<Tooltip>
|
||
|
Header
|
||
|
</Tooltip>
|
||
|
</dt>
|
||
|
<dd>
|
||
|
{{item.Name}} {{route-match item}}
|
||
|
</dd>
|
||
|
</dl>
|
||
|
{{/each}}
|
||
|
</li>
|
||
|
{{/each}}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{{/if}}
|