diff --git a/ui/packages/consul-ui/app/components/topology-metrics/notice/default-allow.hbs b/ui/packages/consul-ui/app/components/topology-metrics/notice/default-allow.hbs deleted file mode 100644 index b3bf90864..000000000 --- a/ui/packages/consul-ui/app/components/topology-metrics/notice/default-allow.hbs +++ /dev/null @@ -1,23 +0,0 @@ - - -

- {{t "components.consul.topology-metrics.notice.default-allow.header"}} -

-
- -

- {{t "components.consul.topology-metrics.notice.default-allow.body"}} -

-
- -

- - {{t "components.consul.topology-metrics.notice.default-allow.footer"}} - -

-
-
\ No newline at end of file diff --git a/ui/packages/consul-ui/app/components/topology-metrics/notice/index.hbs b/ui/packages/consul-ui/app/components/topology-metrics/notice/index.hbs new file mode 100644 index 000000000..00d164be2 --- /dev/null +++ b/ui/packages/consul-ui/app/components/topology-metrics/notice/index.hbs @@ -0,0 +1,31 @@ + + +

+ {{t (concat "components.consul.topology-metrics.notice." @for ".header")}} +

+
+ +

+ {{t (concat "components.consul.topology-metrics.notice." @for ".body")}} +

+
+{{#if @action}} + +

+ {{#if @internal}} + + {{t (concat "components.consul.topology-metrics.notice." @for ".footer.name")}} + + {{else}} + + {{t (concat "components.consul.topology-metrics.notice." @for ".footer")}} + + {{/if}} +

+
+{{/if}} +
\ No newline at end of file diff --git a/ui/packages/consul-ui/app/components/topology-metrics/notice/limited-access.hbs b/ui/packages/consul-ui/app/components/topology-metrics/notice/limited-access.hbs deleted file mode 100644 index 87c50ff04..000000000 --- a/ui/packages/consul-ui/app/components/topology-metrics/notice/limited-access.hbs +++ /dev/null @@ -1,16 +0,0 @@ - - -

- {{t "components.consul.topology-metrics.notice.limited-access.header"}} -

-
- -

- {{t "components.consul.topology-metrics.notice.limited-access.body"}} -

-
-
\ No newline at end of file diff --git a/ui/packages/consul-ui/app/components/topology-metrics/notice/undefined-intention.hbs b/ui/packages/consul-ui/app/components/topology-metrics/notice/undefined-intention.hbs deleted file mode 100644 index 21ab999d7..000000000 --- a/ui/packages/consul-ui/app/components/topology-metrics/notice/undefined-intention.hbs +++ /dev/null @@ -1,23 +0,0 @@ - - -

- {{t "components.consul.topology-metrics.notice.undefined-intention.header"}} -

-
- -

- {{t "components.consul.topology-metrics.notice.undefined-intention.body"}} -

-
- -

- - {{t "components.consul.topology-metrics.notice.undefined-intention.footer"}} - -

-
-
\ No newline at end of file diff --git a/ui/packages/consul-ui/app/components/topology-metrics/notice/wildcard-intention.hbs b/ui/packages/consul-ui/app/components/topology-metrics/notice/wildcard-intention.hbs deleted file mode 100644 index 90bd65778..000000000 --- a/ui/packages/consul-ui/app/components/topology-metrics/notice/wildcard-intention.hbs +++ /dev/null @@ -1,23 +0,0 @@ - - -

- {{t "components.consul.topology-metrics.notice.wildcard-intention.header"}} -

-
- -

- {{t "components.consul.topology-metrics.notice.wildcard-intention.body"}} -

-
- -

- - {{t "components.consul.topology-metrics.notice.wildcard-intention.footer"}} - -

-
-
\ No newline at end of file diff --git a/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs b/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs index 9bf72cf3d..f1ddf5676 100644 --- a/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs +++ b/ui/packages/consul-ui/app/templates/dc/services/show/topology.hbs @@ -23,16 +23,36 @@ as |route|> {{else}} {{#if topology.FilteredByACLs}} - + {{/if}} {{#if topology.DefaultAllow}} - + {{/if}} {{#if topology.WildcardIntention}} - + {{/if}} {{#if topology.undefinedIntention}} - + {{/if}}