From 7ffe31f659e690a126e5e3833b3d2093700c2cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 18 Oct 2018 16:56:07 +0200 Subject: [PATCH] Version 18.7.3 --- swad_attendance.c | 11 +++++++++-- swad_changelog.h | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/swad_attendance.c b/swad_attendance.c index 8c7297c73..51c7d3a94 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -53,7 +53,8 @@ extern struct Globals Gbl; /****************************** Private constants ****************************/ /*****************************************************************************/ -#define Att_ATTENDANCE_TABLE_ID "att_table" +#define Att_ATTENDANCE_TABLE_ID "att_table" +#define Att_ATTENDANCE_DETAILS_ID "att_details" /*****************************************************************************/ /******************************** Private types ******************************/ @@ -3132,7 +3133,7 @@ static void Att_PutButtonToShowDetails (void) extern const char *Txt_Show_more_details; /***** Button to show more details *****/ - Act_StartForm (Gbl.Action.Act); + Act_StartFormAnchor (Gbl.Action.Act,Att_ATTENDANCE_DETAILS_ID); Par_PutHiddenParamChar ("ShowDetails",'Y'); Grp_PutParamsCodGrps (); Usr_PutHiddenParUsrCodAll (Gbl.Action.Act,Gbl.Usrs.Select[Rol_UNK]); @@ -3516,6 +3517,9 @@ static void Att_ListStdsWithAttEventsDetails (unsigned NumStdsInList, /***** Initialize structure with user's data *****/ Usr_UsrDataConstructor (&UsrDat); + /***** Start section with attendance details *****/ + Lay_StartSection (Att_ATTENDANCE_DETAILS_ID); + /***** Start box and table *****/ Box_StartBoxTable (NULL,Txt_Details,NULL, NULL,Box_NOT_CLOSABLE,2); @@ -3537,6 +3541,9 @@ static void Att_ListStdsWithAttEventsDetails (unsigned NumStdsInList, /***** End table and box *****/ Box_EndBoxTable (); + /***** End section with attendance details *****/ + Lay_EndSection (); + /***** Free memory used for user's data *****/ Usr_UsrDataDestructor (&UsrDat); } diff --git a/swad_changelog.h b/swad_changelog.h index 9bbbd806c..470d1fb95 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -355,10 +355,11 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.7.2 (2018-10-18)" +#define Log_PLATFORM_VERSION "SWAD 18.7.3 (2018-10-18)" #define CSS_FILE "swad18.4.css" #define JS_FILE "swad17.17.1.js" /* + Version 18.7.3: Oct 18, 2018 Changes in layout of list of attendance. (236608 lines) Version 18.7.2: Oct 18, 2018 Changes in layout of list of attendance. (236602 lines) Version 18.7.1: Oct 18, 2018 Changes in layout of list of attendance. (236596 lines) Version 18.7: Oct 18, 2018 Changes in layout of list of attendance. (236570 lines)