update template to handle signature class a bit better

This commit is contained in:
jake 2024-11-11 13:22:53 -05:00
parent 13e373bb3f
commit fe27cb9d14

View file

@ -66,7 +66,7 @@
$string .= "\nsub key: " . gmtime($create) . " -> " . ( $expire ? gmtime($expire) : 'n/a' ) . " | flags: $flag\n" $string .= "\nsub key: " . gmtime($create) . " -> " . ( $expire ? gmtime($expire) : 'n/a' ) . " | flags: $flag\n"
} }
elsif ($record eq 'rev') { elsif ($record eq 'rev') {
$string .= "<span class=\"highlight\">revocation: $keyid </span>| <span class=\"date\">" . gmtime($create) . "</span> | " $string .= "<span class=\"highlight\">revocation: $keyid </span>| <span class=\"date\">" . gmtime($create) . "</span> | ";
(exists $sigcls{$signatureclass}) (exists $sigcls{$signatureclass})
? ($string .= $sigcls{$signatureclass}) ? ($string .= $sigcls{$signatureclass})
: ($string .= $signatureclass); : ($string .= $signatureclass);