mirror of https://github.com/rancher/ui.git
Merge pull request #3634 from loganhz/default-ns-missing
Navigating to config maps mapped
This commit is contained in:
commit
fcaaa0f53c
|
|
@ -50,7 +50,15 @@
|
|||
{{#if (eq kind "row")}}
|
||||
<tr>
|
||||
<td data-title="{{t 'formSources.type.label'}}:" class="force-wrap">{{source.source}}</td>
|
||||
<td data-title="{{t 'formSources.source.label'}}:" class="force-wrap">{{source.sourceName}}</td>
|
||||
<td data-title="{{t 'formSources.source.label'}}:" class="force-wrap">
|
||||
{{#if (eq source.source "configMap")}}
|
||||
{{#link-to-external "authenticated.project.config-maps.detail" (concat namespace.id ":" source.sourceName)}}
|
||||
{{source.sourceName}}
|
||||
{{/link-to-external}}
|
||||
{{else}}
|
||||
{{source.sourceName}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td data-title="{{t 'formSources.prefixOrKey.label'}}:" class="force-wrap">
|
||||
{{#if source.sourceKey}}
|
||||
{{source.sourceKey}}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@
|
|||
}}
|
||||
{{/unless}}
|
||||
{{/each}}
|
||||
{{else if (not editing)}}
|
||||
<div class="text-muted">
|
||||
{{t "generic.na"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if editing}}
|
||||
|
|
|
|||
|
|
@ -52,7 +52,9 @@
|
|||
}}
|
||||
{{else}}
|
||||
<div>
|
||||
{{config.name}}
|
||||
{{#link-to-external "authenticated.project.config-maps.detail" (concat namespace.id ":" config.name)}}
|
||||
{{config.name}}
|
||||
{{/link-to-external}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue