Kalenderupdate
* Externe Teilnehmer komplette Terminbehandlung ohne Microsoft + als Teilnehmer bei Kalenderterminen
This commit is contained in:
@@ -31,6 +31,9 @@ foreach ($rights as $key => $right) :
|
||||
} elseif ($CalendarAll[$key]->calendar_name) {
|
||||
$calendarName = $CalendarAll[$key]->calendar_name;
|
||||
}
|
||||
if (!($CalendarAll[$key]->microsoft_id)) {
|
||||
$calendarName .= ' 📅';
|
||||
}
|
||||
}
|
||||
|
||||
if ($calendarName) {
|
||||
@@ -131,7 +134,7 @@ endforeach;
|
||||
class="fa-duotone fa-solid fa-phone-volume fa-calendar-call fa-calendar-call-search"></i>
|
||||
</button>
|
||||
<button title="Abgesagte Termine" data-eventcancelled="1"
|
||||
class="btn btn-light btn-light-search"><i
|
||||
class="btn btn-light btn-light-search top-search-filter"><i
|
||||
class="fa-duotone fa-solid fa-calendar-symbol fa-calendar-circle-exclamation"></i>
|
||||
</button>
|
||||
|
||||
@@ -629,11 +632,25 @@ endforeach;
|
||||
name="calendar-users">
|
||||
<?php foreach ($CalArray as $key => $value) :
|
||||
if ($rights[$value] != "all") continue;
|
||||
$hasMicrosoftId = $CalendarAll[$value]->microsoft_id ?: 0;
|
||||
$optionClass = $hasMicrosoftId ? '' : 'no-microsoft-id';
|
||||
$optionStyle = $hasMicrosoftId ? '' : '';
|
||||
|
||||
if ($value != $Calendar[0]->go_calendar_id) : ?>
|
||||
<option value="<?= $value ?>"><?= $key ?></option>
|
||||
<option value="<?= $value ?>"
|
||||
class="<?= $optionClass ?>"
|
||||
style="<?= $optionStyle ?>"
|
||||
data-has-microsoft-id="<?= $hasMicrosoftId ? '1' : '0' ?>">
|
||||
<?= $key ?>
|
||||
</option>
|
||||
<?php else : ?>
|
||||
<option data-mainuser="1" selected="selected"
|
||||
value="<?= $value ?>"><?= $key ?></option>
|
||||
value="<?= $value ?>"
|
||||
class="<?= $optionClass ?>"
|
||||
style="<?= $optionStyle ?>"
|
||||
data-has-microsoft-id="<?= $hasMicrosoftId ? '1' : '0' ?>">
|
||||
<?= $key ?>
|
||||
</option>
|
||||
<?php endif;
|
||||
endforeach; ?>
|
||||
</select>
|
||||
@@ -665,11 +682,18 @@ endforeach;
|
||||
class="fa-solid fa-arrow-right-from-bracket"></i></span></label>
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<select class="form-control form-select select2-multiple-tag" id="calendar-attendees"
|
||||
<select class="form-control form-select select2-multiple" id="calendar-attendees"
|
||||
name="calendar-users[]"
|
||||
multiple="multiple">
|
||||
<?php foreach ($CalArray as $key => $value) : ?>
|
||||
<option value="<?= $value ?>"><?= $key ?></option>
|
||||
<?php foreach ($CalArray as $key => $value) :
|
||||
$hasMicrosoftId = $CalendarAll[$value]->microsoft_id ?: 0;
|
||||
$optionStyle = $hasMicrosoftId ? '' : '';
|
||||
?>
|
||||
<option value="<?= $value ?>"
|
||||
style="<?= $optionStyle ?>"
|
||||
data-has-microsoft-id="<?= $hasMicrosoftId ? '1' : '0' ?>">
|
||||
<?= $key ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user