mirror of https://github.com/rancher/ui.git
Merge pull request #2114 from superseb/sans
[WIP] Read Certificate SANs from list
This commit is contained in:
commit
fc912407f5
|
|
@ -37,8 +37,7 @@ export default Resource.extend({
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
return sans.split(',')
|
return sans.removeObject(cn)
|
||||||
.removeObject(cn)
|
|
||||||
.filter((san) => (`${ san }`).indexOf('@') === -1);
|
.filter((san) => (`${ san }`).indexOf('@') === -1);
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -617,7 +617,7 @@ certificatesPage:
|
||||||
labelText: Domain Names
|
labelText: Domain Names
|
||||||
single: '<a href="https://{cn}" target="_blank" rel="nofollow noreferrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a>'
|
single: '<a href="https://{cn}" target="_blank" rel="nofollow noreferrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a>'
|
||||||
withSan: |
|
withSan: |
|
||||||
<a href="https://{cn}" target="_blank" rel="nofollow noreferrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a> +
|
<a href="https://{cn}" target="_blank" rel="nofollow nefererrer noopener">{cn} <i class="icon icon-sm icon-external-link"></i></a> +
|
||||||
{sans, plural,
|
{sans, plural,
|
||||||
=1 {1 other}
|
=1 {1 other}
|
||||||
other {# others}
|
other {# others}
|
||||||
|
|
|
||||||
|
|
@ -604,7 +604,7 @@ certificatesPage:
|
||||||
labelText: 域名
|
labelText: 域名
|
||||||
single: '<a href="https://{cn}" target="_blank" rel="nofollow nefererrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a>'
|
single: '<a href="https://{cn}" target="_blank" rel="nofollow nefererrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a>'
|
||||||
withSan: |
|
withSan: |
|
||||||
<a href="https://{cn}" target="_blank" rel="nofollow nefererrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a> +
|
<a href="https://{cn}" target="_blank" rel="nofollow nefererrer noopener">{cn} <i class="icon icon-sm icon-external-link"></i></a> +
|
||||||
{sans, plural,
|
{sans, plural,
|
||||||
=1{1other}
|
=1{1other}
|
||||||
other{#others}
|
other{#others}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue