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 sans.split(',')
|
||||
.removeObject(cn)
|
||||
return sans.removeObject(cn)
|
||||
.filter((san) => (`${ san }`).indexOf('@') === -1);
|
||||
}),
|
||||
|
||||
|
|
|
|||
|
|
@ -617,7 +617,7 @@ certificatesPage:
|
|||
labelText: Domain Names
|
||||
single: '<a href="https://{cn}" target="_blank" rel="nofollow noreferrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a>'
|
||||
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,
|
||||
=1 {1 other}
|
||||
other {# others}
|
||||
|
|
|
|||
|
|
@ -604,7 +604,7 @@ certificatesPage:
|
|||
labelText: 域名
|
||||
single: '<a href="https://{cn}" target="_blank" rel="nofollow nefererrer noopener">{cn} <i class="icon icon-sm icon-external-link"/></a>'
|
||||
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,
|
||||
=1{1other}
|
||||
other{#others}
|
||||
|
|
|
|||
Loading…
Reference in New Issue