diff --git a/src/web/templates/components/point.html b/src/web/templates/components/point.html index afd2f3d..738d22d 100644 --- a/src/web/templates/components/point.html +++ b/src/web/templates/components/point.html @@ -1,35 +1,39 @@ - + - {{if eq "good" .Type }} - - - - - {{else if eq "warning" .Type }} - - - - - {{else if eq "bad" .Type }} - - - - - {{else }} - - - - - {{end}} + + {{if eq 1 .Rating }} + + + + + {{else if eq 2 .Rating }} + + + + + {{else if eq 3 .Rating }} + + + + + {{else }} + + + + + {{end}} + - {{.Title}} + + {{.Title}} + \ No newline at end of file diff --git a/src/web/templates/service.html b/src/web/templates/service.html index cb0a65f..6829cb5 100644 --- a/src/web/templates/service.html +++ b/src/web/templates/service.html @@ -87,14 +87,14 @@ - + {{template "components/kyc_level" .Service.KycLevel}} - + - {{range .Points}} + {{range .Attributes}} {{template "components/point" .}} {{end}}