Frondend Roleback
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 12s
All checks were successful
Deploy Workshop-Wahlen (DEV / PROD) / deploy (push) Successful in 12s
This commit is contained in:
@@ -1,25 +1,3 @@
|
|||||||
.kc-workshop-header {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
gap: 8px;
|
|
||||||
}
|
|
||||||
.kc-workshop-title {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1.08em;
|
|
||||||
flex: 1 1 auto;
|
|
||||||
min-width: 0;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
.kc-workshop-count {
|
|
||||||
color: #2da66a;
|
|
||||||
font-size: 0.98em;
|
|
||||||
margin-left: 8px;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.teamers {
|
.teamers {
|
||||||
color: #888;
|
color: #888;
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
|
|||||||
@@ -181,11 +181,7 @@ add_shortcode('konficastle_workshop_ergebnis', function($atts) {
|
|||||||
if (!empty($ws_teamers[$teamer_key])) {
|
if (!empty($ws_teamers[$teamer_key])) {
|
||||||
$teamer_html = '<span class="teamers">'.esc_html(implode(', ', $ws_teamers[$teamer_key])).'</span>';
|
$teamer_html = '<span class="teamers">'.esc_html(implode(', ', $ws_teamers[$teamer_key])).'</span>';
|
||||||
}
|
}
|
||||||
echo '<div class="kc-workshop-header">';
|
echo '<div class="title">'.esc_html($ws_name).($teamer_html ? ' '.$teamer_html : '').'<span class="count">('.$count.' TN)</span></div>';
|
||||||
echo '<span class="kc-workshop-title">'.esc_html($ws_name).'</span>';
|
|
||||||
if ($teamer_html) echo ' '.$teamer_html;
|
|
||||||
echo '<span class="kc-workshop-count">('.$count.' TN)</span>';
|
|
||||||
echo '</div>';
|
|
||||||
echo '<div class="kc-participants">';
|
echo '<div class="kc-participants">';
|
||||||
foreach($teilnehmer as $t) {
|
foreach($teilnehmer as $t) {
|
||||||
$is_me = in_array(intval($t->id), $my_ids);
|
$is_me = in_array(intval($t->id), $my_ids);
|
||||||
|
|||||||
Reference in New Issue
Block a user