mirror of https://github.com/rancher/ui.git
87 lines
2.6 KiB
Handlebars
87 lines
2.6 KiB
Handlebars
<td
|
|
valign="middle"
|
|
class="row-check"
|
|
style="padding-top: 2px;"
|
|
>
|
|
{{check-box nodeId=entry.id}}
|
|
</td>
|
|
<td data-title="{{dt.state}}" class="state">
|
|
{{badge-state model=entry}}
|
|
</td>
|
|
<td data-title="{{dt.fqdn}}">
|
|
{{entry.fqdn}}
|
|
</td>
|
|
<td data-title="{{dt.providerName}}">
|
|
{{entry.providerId}}
|
|
</td>
|
|
<td data-title="{{dt.target}}" class="p-10">
|
|
{{#if (eq entry.target.type "single")}}
|
|
<span class="block">
|
|
{{t "globalDnsPage.entriesPage.config.multi"}} {{entry.multiClusterApp.displayName}}
|
|
</span>
|
|
{{#each entry.multiClusterApp.targets as |target|}}
|
|
{{#if (and target.clusterName target.projectName)}}
|
|
{{#link-to-external
|
|
"apps-tab.detail"
|
|
target.projectId
|
|
target.appLink
|
|
classNames="block"
|
|
}}
|
|
{{target.clusterName}}:{{target.projectName}}
|
|
{{/link-to-external}}
|
|
{{else}}
|
|
{{#tooltip-element
|
|
type="tooltip-basic"
|
|
model=(t "globalDnsPage.entriesPage.access.noAccessProject")
|
|
tooltipTemplate="tooltip-static"
|
|
aria-describedby="tooltip-base"
|
|
tooltipFor="tooltipLink"
|
|
}}
|
|
{{target.projectId}} <i class="icon icon-alert"></i>
|
|
{{/tooltip-element}}
|
|
{{/if}}
|
|
{{else}}
|
|
<div>
|
|
{{#tooltip-element
|
|
type="tooltip-basic"
|
|
model=(t "globalDnsPage.entriesPage.access.noAccessMulti")
|
|
tooltipTemplate="tooltip-static"
|
|
aria-describedby="tooltip-base"
|
|
tooltipFor="tooltipLink"
|
|
}}
|
|
{{entry.multiClusterAppId}} <i class="icon icon-alert"></i>
|
|
{{/tooltip-element}}
|
|
</div>
|
|
{{/each}}
|
|
{{else}}
|
|
{{#each entry.linkedProjects as |project|}}
|
|
{{#if (and project.cluster.displayName project.displayName)}}
|
|
{{#link-to-external
|
|
"authenticated.project"
|
|
project.id
|
|
classNames="block"
|
|
}}
|
|
{{project.cluster.displayName}}:{{project.displayName}}
|
|
{{/link-to-external}}
|
|
{{else}}
|
|
<div>
|
|
{{#tooltip-element
|
|
type="tooltip-basic"
|
|
model=(t "globalDnsPage.entriesPage.access.noAccessProject")
|
|
tooltipTemplate="tooltip-static"
|
|
aria-describedby="tooltip-base"
|
|
tooltipFor="tooltipLink"
|
|
}}
|
|
{{project.id}} <i class="icon icon-alert"></i>
|
|
{{/tooltip-element}}
|
|
</div>
|
|
{{/if}}
|
|
{{/each}}
|
|
{{/if}}
|
|
</td>
|
|
<td data-title="{{dt.created}}">
|
|
{{date-calendar entry.created}}
|
|
</td>
|
|
<td data-title="{{dt.actions}}" class="actions">
|
|
{{action-menu model=entry}}
|
|
</td> |