User Management
This commit is contained in:
@@ -254,11 +254,16 @@
|
||||
|
||||
// Create PPR item HTML
|
||||
function createPPRItem(ppr) {
|
||||
// Display callsign as main item if present, registration below; otherwise show registration
|
||||
const aircraftDisplay = ppr.ac_call && ppr.ac_call.trim() ?
|
||||
`${ppr.ac_call}<br><span style="font-size: 0.85em; color: #888; font-style: italic;">${ppr.ac_reg}</span>` :
|
||||
ppr.ac_reg;
|
||||
|
||||
return `
|
||||
<div class="ppr-item">
|
||||
<div class="ppr-field">
|
||||
<strong>Aircraft</strong>
|
||||
<span>${ppr.ac_reg}</span>
|
||||
<span>${aircraftDisplay}</span>
|
||||
</div>
|
||||
<div class="ppr-field">
|
||||
<strong>Type</strong>
|
||||
|
||||
Reference in New Issue
Block a user