diff --git a/scm-ui/ui-components/src/repos/changesets/SignatureIcon.tsx b/scm-ui/ui-components/src/repos/changesets/SignatureIcon.tsx index 81c2882e10..5c096fc9a6 100644 --- a/scm-ui/ui-components/src/repos/changesets/SignatureIcon.tsx +++ b/scm-ui/ui-components/src/repos/changesets/SignatureIcon.tsx @@ -28,6 +28,7 @@ import styled from "styled-components"; import Icon from "../../Icon"; import {usePopover} from "../../popover"; import Popover from "../../popover/Popover"; +import classNames from "classnames"; type Props = { signatures: Signature[]; @@ -80,17 +81,17 @@ const SignatureIcon: FC = ({signatures, className}) => { if (signature.status === "NOT_FOUND") { return

-

{t("changeset.signatureStatus")}: {status}
{t("changeset.keyId")}: {signature.keyId}
+
{t("changeset.signatureStatus")}: {status}

; } return

-

{t("changeset.keyOwner")}: {signature.owner || t("changeset.noOwner")}
{t("changeset.keyId")}: { signature._links?.rawKey ? {signature.keyId} : signature.keyId }
-
{t("changeset.signatureStatus")}: {status}
+
{t("changeset.signatureStatus")}: {status}
+
{t("changeset.keyOwner")}: {signature.owner || t("changeset.noOwner")}
{signature.contacts && signature.contacts.length > 0 && <>
{t("changeset.keyContacts")}:
{signature.contacts && signature.contacts.map(contact =>