forked from extern/egroupware
Prompt to edit whole series or create an exception for recurring events when editing from list view
This commit is contained in:
parent
f69c071685
commit
55d3ea8556
@ -340,6 +340,20 @@ class calendar_uilist extends calendar_ui
|
||||
$event['category'] = $this->categories->check_list(EGW_ACL_READ, $event['category']);
|
||||
}
|
||||
|
||||
// Edit link
|
||||
$view_link = egw::link('/index.php',array('menuaction'=>'calendar.calendar_uiforms.edit','cal_id'=>$event['id'],'date'=>$this->bo->date2string($event['start'])));
|
||||
|
||||
if ($event['recur_type'] != MCAL_RECUR_NONE)
|
||||
{
|
||||
$view_link_confirm_abort = $GLOBALS['egw']->link('/index.php',array('menuaction'=>'calendar.calendar_uiforms.edit','cal_id'=>$event['id'],'date'=>$this->bo->date2string($event['start']),'exception'=>1));
|
||||
$view_link_confirm_text=lang('do you want to edit serialevent als exception? - Ok = Edit Exception, Abort = Edit Serial');
|
||||
$event['edit_link'] = $this->popup($view_link_confirm_abort,null,750,410,$view_link,$view_link_confirm_text).'; return false;';
|
||||
}
|
||||
else
|
||||
{
|
||||
$event['edit_link'] = $this->popup($view_link).'; return false;';
|
||||
}
|
||||
|
||||
$rows[] = $event;
|
||||
}
|
||||
$wv=0;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user