Update Frindend ergebniss
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 13s
This commit is contained in:
@@ -188,8 +188,7 @@ add_shortcode('konficastle_workshop_ergebnis', function($atts) {
|
||||
foreach($teilnehmer as $t) {
|
||||
$is_me = in_array(intval($t->id), $my_ids);
|
||||
$name = esc_html($t->vorname.' '.$t->nachname);
|
||||
$label = $name . ' <span style="color:#6b6b6b;font-size:85%;white-space:nowrap;">' . intval($t->phase) . '</span>';
|
||||
echo '<div class="kc-participant'.($is_me ? ' me' : '').'" style="white-space:nowrap;">'. $label .'</div>';
|
||||
echo '<div class="kc-participant'.($is_me ? ' me' : '').'" style="white-space:nowrap;">'. $name .'</div>';
|
||||
}
|
||||
echo '</div>'; // kc-participants
|
||||
echo '</div>'; // content
|
||||
@@ -206,7 +205,7 @@ add_shortcode('konficastle_workshop_ergebnis', function($atts) {
|
||||
echo '<b>Nicht zugeteilt:</b><br>';
|
||||
echo '<div style="margin:6px 0 0 18px;">';
|
||||
foreach($nicht_zugeteilt as $t) {
|
||||
echo '<span style="display:inline-block;white-space:nowrap;margin-right:12px;">'.esc_html($t->vorname.' '.$t->nachname).' <span style="color:#6b6b6b;font-size:85%;">'.intval($t->phase).'</span></span>';
|
||||
echo '<span style="display:inline-block;white-space:nowrap;margin-right:12px;">'.esc_html($t->vorname.' '.$t->nachname).'</span>';
|
||||
}
|
||||
echo '</div></div>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user