put notify external titels into the label too and move the line below adding participants

also some alignment fixes to look nicer
This commit is contained in:
ralf 2022-09-23 09:06:29 +02:00
parent a18f956533
commit 34580f4900
2 changed files with 18 additions and 15 deletions

View File

@ -1548,14 +1548,14 @@ class calendar_uiforms extends calendar_ui
'sendrequest' => array('label' => 'Meetingrequest to all participants', 'title' => 'Send meetingrequest to all participants after the event is saved'),
),
'participants[notify_externals]' => [
'yes' => ['label' => 'Yes', 'title' => 'Notify all externals (non-users) about this event'],
'no' => ['label' => 'No', 'title' => 'Do NOT notify externals (non-users) about this event'],
'never' => ['label' => 'Never', 'title' => 'Never notify externals (non-users) about events I create'],
'add_cancel' => ['label' => 'Always', 'title' => 'on invitation / cancellation only'],
'time_change_4h' => ['label' => 'Always', 'title' => 'on time change of more than 4 hours too'],
'time_change' => ['label' => 'Always', 'title' => 'on any time change too'],
'modifications' => ['label' => 'Always', 'title' => 'on all modification, but responses'],
'responses' => ['label' => 'Always', 'title' => 'on participant responses too'],
'yes' => lang('Yes').', '.lang('Notify all externals (non-users) about this event'),
'no' => lang('No').', '.lang('Do NOT notify externals (non-users) about this event'),
'never' => lang('Never notify externals (non-users) about events I create'),
'add_cancel' => lang('Always').', '.lang('on invitation / cancellation only'),
'time_change_4h' => lang('Always').', '.lang('on time change of more than 4 hours too'),
'time_change' => lang('Always').', '.lang('on any time change too'),
'modifications' => lang('Always').', '.lang('on all modification, but responses'),
'responses' => lang('Always').', '.lang('on participant responses too'),
],
);
unset($sel_options['status']['G']);

View File

@ -46,16 +46,13 @@
<grid width="99%" id="participants">
<columns>
<column width="85"/>
<column width="350"/>
<column/>
<column width="88"/>
<column width="70"/>
<column width="100"/>
<column/>
<column width="80"/>
</columns>
<rows>
<row>
<select label="Notify externals" id="notify_externals" span="all" align="right"/>
</row>
<row disabled="@no_add" height="60" class="et2_toolbar">
<calendar-owner id="participant" allowFreeEntries="true" span="4"
empty_label="Add new participants or resource"
@ -69,6 +66,12 @@
background_image="1" disabled="true" ro_image="add"/>
</hbox>
</row>
<row>
<hbox span="all">
<description width="20%"/>
<select label="Notify externals" id="notify_externals"/>
</hbox>
</row>
<row class="th thb">
<description value="Type"/>
<description value="Participants"/>
@ -85,7 +88,7 @@
<menulist>
<menupopup id="${row}[status]" onchange="1"/>
</menulist>
<button align="left" label="Delete" id="delete[$row_cont[delete_id]]" image="delete"/>
<button align="right" label="Delete" id="delete[$row_cont[delete_id]]" image="delete"/>
</row>
</rows>
</grid>
@ -290,4 +293,4 @@
<textbox type="hidden" id="delete_exceptions"/>
</hbox>
</template>
</overlay>
</overlay>