-
- `;
- // clang-format on
+ `;
+ }
+
+ // The issuer and top level origin are technically parameters but reported in the
+ // result structure due to the timing when they are calculated in the backend.
+ // Nonetheless, we show them as part of the parameter section.
+ private renderIssuerAndTopLevelOriginFromResult(): LitHtml.TemplateResult|{} {
+ if (!this.trustTokenData || !this.trustTokenData.result) {
+ return LitHtml.nothing;
+ }
+
+ return LitHtml.html`
+ ${renderSimpleRowIfValuePresent(ls`Top level origin`, this.trustTokenData.result.topLevelOrigin)}
+ ${renderSimpleRowIfValuePresent(ls`Issuer`, this.trustTokenData.result.issuerOrigin)}`;
+ }
+
+ private renderResultSection(): LitHtml.TemplateResult|{} {
+ if (!this.trustTokenData || !this.trustTokenData.result) {
+ return LitHtml.nothing;
+ }
+ return LitHtml.html`
+
+
+ ${ls`Status`}
+