mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-01 06:15:31 +02:00
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;
|
extern const char *Txt_Remove_event;
|
||||||
struct Att_Events Events;
|
struct Att_Events Events;
|
||||||
struct Att_Event Event;
|
struct Att_Event Event;
|
||||||
Grp_WhichGroups_t WhichGroups;
|
|
||||||
|
|
||||||
/***** Reset attendance events *****/
|
/***** Reset attendance events *****/
|
||||||
Att_ResetEvents (&Events);
|
Att_ResetEvents (&Events);
|
||||||
|
@ -864,20 +863,12 @@ void Att_AskRemAttEvent (void)
|
||||||
/***** Get data of the attendance event from database *****/
|
/***** Get data of the attendance event from database *****/
|
||||||
Att_GetDataOfAttEventByCodAndCheckCrs (&Event);
|
Att_GetDataOfAttEventByCodAndCheckCrs (&Event);
|
||||||
|
|
||||||
/***** Button of confirmation of removing *****/
|
/***** Show question and button to remove event *****/
|
||||||
Frm_BeginForm (ActRemAtt);
|
Ale_ShowAlertAndButton (ActRemAtt,NULL,NULL,
|
||||||
Att_PutParamAttCod (Event.AttCod);
|
Att_PutParams,&Events,
|
||||||
Dat_PutHiddenParamOrder (Events.SelectedOrder);
|
Btn_REMOVE_BUTTON,Txt_Remove_event,
|
||||||
WhichGroups = Grp_GetParamWhichGroups ();
|
Ale_QUESTION,Txt_Do_you_really_want_to_remove_the_event_X,
|
||||||
Grp_PutParamWhichGroups (&WhichGroups);
|
Event.Title);
|
||||||
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 attendance events again *****/
|
/***** Show attendance events again *****/
|
||||||
Att_SeeAttEvents ();
|
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.
|
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 CSS_FILE "swad22.35.css"
|
||||||
#define JS_FILE "swad21.100.js"
|
#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.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.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)
|
Version 22.38: Oct 02, 2022 Code refactoring and changes in layout of surveys. (332518 lines)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user