Simplify code displaying compliance label next to buttons

GnuPG-bug-id: 5545
2 jobs for master in 14 minutes and 34 seconds (queued for 41 minutes and 3 seconds)