mirror of https://github.com/acanas/swad-core.git
Version 22.39.2: Oct 02, 2022 Changes in dialog to reset an attendance event.
This commit is contained in:
parent
759f513ed5
commit
4ea78d967b
|
@ -847,7 +847,6 @@ void Att_AskRemAttEvent (void)
|
|||
extern const char *Txt_Remove_event;
|
||||
struct Att_Events Events;
|
||||
struct Att_Event Event;
|
||||
Grp_WhichGroups_t WhichGroups;
|
||||
|
||||
/***** Reset attendance events *****/
|
||||
Att_ResetEvents (&Events);
|
||||
|
@ -864,20 +863,12 @@ void Att_AskRemAttEvent (void)
|
|||
/***** Get data of the attendance event from database *****/
|
||||
Att_GetDataOfAttEventByCodAndCheckCrs (&Event);
|
||||
|
||||
/***** Button of confirmation of removing *****/
|
||||
Frm_BeginForm (ActRemAtt);
|
||||
Att_PutParamAttCod (Event.AttCod);
|
||||
Dat_PutHiddenParamOrder (Events.SelectedOrder);
|
||||
WhichGroups = Grp_GetParamWhichGroups ();
|
||||
Grp_PutParamWhichGroups (&WhichGroups);
|
||||
Pag_PutHiddenParamPagNum (Pag_ATT_EVENTS,Events.CurrentPage);
|
||||
|
||||
/* Ask for confirmation of removing */
|
||||
Ale_ShowAlert (Ale_WARNING,Txt_Do_you_really_want_to_remove_the_event_X,
|
||||
Event.Title);
|
||||
|
||||
Btn_PutRemoveButton (Txt_Remove_event);
|
||||
Frm_EndForm ();
|
||||
/***** Show question and button to remove event *****/
|
||||
Ale_ShowAlertAndButton (ActRemAtt,NULL,NULL,
|
||||
Att_PutParams,&Events,
|
||||
Btn_REMOVE_BUTTON,Txt_Remove_event,
|
||||
Ale_QUESTION,Txt_Do_you_really_want_to_remove_the_event_X,
|
||||
Event.Title);
|
||||
|
||||
/***** Show attendance events again *****/
|
||||
Att_SeeAttEvents ();
|
||||
|
|
|
@ -606,11 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
|||
|
||||
TODO: Attach pdf files in multimedia.
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.39.1 (2022-10-02)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.39.2 (2022-10-02)"
|
||||
#define CSS_FILE "swad22.35.css"
|
||||
#define JS_FILE "swad21.100.js"
|
||||
/*
|
||||
Version 22.39.2: Oct 02, 2022 TODO: El botón de "Eliminar evento" debería salir dentro del diálogo. (? lines)
|
||||
Version 22.39.2: Oct 02, 2022 Changes in dialog to reset an attendance event. (? lines)
|
||||
Version 22.39.1: Oct 02, 2022 Changes in dialog to reset a survey. (332527 lines)
|
||||
Version 22.39: Oct 02, 2022 Code refactoring and changes in layout of attendance events. (332537 lines)
|
||||
Version 22.38: Oct 02, 2022 Code refactoring and changes in layout of surveys. (332518 lines)
|
||||
|
|
Loading…
Reference in New Issue