Merge pull request #3634 from loganhz/default-ns-missing

Navigating to config maps mapped
This commit is contained in:
Westly Wright 2019-12-16 10:00:02 -07:00 committed by GitHub
commit fcaaa0f53c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 2 deletions

View File

@ -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}}

View File

@ -21,6 +21,10 @@
}}
{{/unless}}
{{/each}}
{{else if (not editing)}}
<div class="text-muted">
{{t "generic.na"}}
</div>
{{/if}}
{{#if editing}}

View File

@ -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>