Show warning about changes on event from invitations; consolidate css styles
This commit is contained in:
parent
e1370aa6f4
commit
2b1d48f854
3 changed files with 8 additions and 6 deletions
|
@ -502,6 +502,7 @@ function rcube_calendar_ui(settings)
|
||||||
event_attendees = [];
|
event_attendees = [];
|
||||||
attendees_list = $('#edit-attendees-table > tbody').html('');
|
attendees_list = $('#edit-attendees-table > tbody').html('');
|
||||||
$('#edit-attendees-notify')[(notify.checked && organizer ? 'show' : 'hide')]();
|
$('#edit-attendees-notify')[(notify.checked && organizer ? 'show' : 'hide')]();
|
||||||
|
$('#edit-localchanges-warning')[(has_attendees(event) && !organizer ? 'show' : 'hide')]();
|
||||||
|
|
||||||
var load_attendees_tab = function()
|
var load_attendees_tab = function()
|
||||||
{
|
{
|
||||||
|
|
|
@ -509,7 +509,7 @@ td.topalign {
|
||||||
padding: 0 0.5em 0.5em 0.5em;
|
padding: 0 0.5em 0.5em 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-recurring-warning,
|
.event-dialog-message,
|
||||||
.event-update-confirm .message {
|
.event-update-confirm .message {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
padding: 0.8em;
|
padding: 0.8em;
|
||||||
|
@ -517,7 +517,7 @@ td.topalign {
|
||||||
border: 1px solid #C2D071;
|
border: 1px solid #C2D071;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-recurring-warning .message,
|
.event-dialog-message .message,
|
||||||
.event-update-confirm .message {
|
.event-update-confirm .message {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
}
|
}
|
||||||
|
@ -530,13 +530,13 @@ td.topalign {
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-recurring-warning span.ui-icon,
|
.event-dialog-message span.ui-icon,
|
||||||
.event-update-confirm span.ui-icon {
|
.event-update-confirm span.ui-icon {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 7px 20px 0;
|
margin: 0 7px 20px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-recurring-warning label,
|
.event-dialog-message label,
|
||||||
.event-update-confirm label {
|
.event-update-confirm label {
|
||||||
min-width: 3em;
|
min-width: 3em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
|
|
|
@ -186,8 +186,9 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<roundcube:object name="plugin.edit_attendees_notify" id="edit-attendees-notify" style="display:none" />
|
<roundcube:object name="plugin.edit_attendees_notify" id="edit-attendees-notify" class="event-dialog-message" style="display:none" />
|
||||||
<roundcube:object name="plugin.edit_recurring_warning" class="edit-recurring-warning" style="display:none" />
|
<roundcube:object name="plugin.edit_recurring_warning" class="event-dialog-message edit-recurring-warning" style="display:none" />
|
||||||
|
<div id="edit-localchanges-warning" class="event-dialog-message" style="display:none"><roundcube:label name="calendar.localchangeswarning" /></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="eventfreebusy" class="uidialog">
|
<div id="eventfreebusy" class="uidialog">
|
||||||
|
|
Loading…
Add table
Reference in a new issue