Matthias, I was asked to test this out in a demo build. For this test, I installed a mix of 1G and 10G optics with a Dual-port 10G license. To address your concerns, the development team has added a "$" flag to show the 10G optic is unlicensed, which you can see on port 27 below. Thanks for your feedback!
(Demo) X440G2-24t-10G4.2 # show port 25-28 conf no
Port Configuration
Port Virtual Port Link Auto Speed Duplex Flow Load Media
router State State Neg Cfg Actual Cfg Actual Cntrl Master Pri Red
================================================================================
25 VR-Default E R ON AUTO AUTO SX
26 VR-Default E R OFF 10000 FULL SF+_SR
27 VR-Default E R ON AUTO AUTO $SF+_SR
28 VR-Default E R ON AUTO AUTO SX
================================================================================
> indicates Port Display Name truncated past 8 characters
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
Port State: D-Disabled, E-Enabled, L-License Disabled
Media: !-Unsupported, $-Unlicensed
Media Red: * - use "show port info detail" for redundant media type
Flow Cntrl: Shows link partner's abilities. NONE if Auto Neg is OFF
(Demo) X440G2-24t-10G4.3 # show port 27 info det
Port: 27
Virtual-router: VR-Default
Type: SF+_SR (Unlicensed)
Random Early drop: Unsupported
Admin state: Enabled with auto-speed sensing auto-duplex
Link State: Ready
Link Ups: 0 Last: --
Link Downs: 0 Last: --
......