mirror of https://github.com/rancher/ui.git
ingress model missing canHaveLabels property
rancher/rancher#15096 rancher/rancher#16112
This commit is contained in:
parent
e6499a5b67
commit
ae709b3da9
|
|
@ -66,7 +66,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#unless editing}}
|
{{#unless editing}}
|
||||||
<div class="pt-20"></div>
|
<hr class="mt-20 mb-20"/>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
<div class="col {{if editing 'span-6' 'span-12'}}">
|
<div class="col {{if editing 'span-6' 'span-12'}}">
|
||||||
{{#if editing}}
|
{{#if editing}}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ export default Resource.extend({
|
||||||
type: 'ingress',
|
type: 'ingress',
|
||||||
|
|
||||||
canClone: true,
|
canClone: true,
|
||||||
|
canHaveLabels: true,
|
||||||
|
|
||||||
namespace: reference('namespaceId', 'namespace', 'clusterStore'),
|
namespace: reference('namespaceId', 'namespace', 'clusterStore'),
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,12 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<div class="text-muted mb-20">{{t 'formSslTermination.noCertificatesConfiged'}}</div>
|
<div class="text-muted mb-20">{{t 'formSslTermination.noCertificatesConfiged'}}</div>
|
||||||
|
{{#if editing}}
|
||||||
<button class="btn bg-link icon-btn inline-block " {{action "addCert"}}>
|
<button class="btn bg-link icon-btn inline-block " {{action "addCert"}}>
|
||||||
<span class="darken"><i class="icon icon-plus text-small"></i></span>
|
<span class="darken"><i class="icon icon-plus text-small"></i></span>
|
||||||
<span>{{t 'formSslTermination.addCertLabel'}}</span>
|
<span>{{t 'formSslTermination.addCertLabel'}}</span>
|
||||||
</button>
|
</button>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{#if (and editing allCertificates.length)}}
|
{{#if (and editing allCertificates.length)}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue