Version 22.33.1: Sep 29, 2022 Changes in program resources and attendance events.

This commit is contained in:
acanas 2022-09-29 16:50:42 +02:00
parent 036375ffe7
commit ddddce93be
3 changed files with 9 additions and 4 deletions

View File

@ -367,6 +367,12 @@ static void Att_PutIconsInListOfAttEvents (void *Events)
/***** Put icon to print my QR code *****/
QR_PutLinkToPrintQRCode (ActPrnUsrQR,
Usr_PutParamMyUsrCodEncrypted,Gbl.Usrs.Me.UsrDat.EnUsrCod);
/***** Put icon to get resource link *****/
if (Gbl.Usrs.Me.Role.Logged == Rol_TCH || // Only if I am a teacher
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM) // or a superuser
Ico_PutContextualIconToGetLink (ActReqLnkAtt,NULL,
Att_PutParams,Events);
}
}

View File

@ -43,8 +43,7 @@ void AttRsc_GetLinkToEvent (void)
char Title[Att_MAX_BYTES_ATTENDANCE_EVENT_TITLE + 1];
/***** Get attendance event code *****/
if ((AttCod = Att_GetParamAttCod ()) < 0)
Err_WrongEventExit ();
AttCod = Att_GetParamAttCod ();
/***** Get attendance event title *****/
AttRsc_GetTitleFromAttCod (AttCod,Title,sizeof (Title) - 1);

View File

@ -606,13 +606,13 @@ 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.33 (2022-09-29)"
#define Log_PLATFORM_VERSION "SWAD 22.33.1 (2022-09-29)"
#define CSS_FILE "swad22.22.1.css"
#define JS_FILE "swad21.100.js"
/*
Version 22.33.3: Sep 29, 2022 TODO: Fix layout of marks file metadata. (? lines)
Version 22.33.2: Sep 29, 2022 TODO: Changes in program resources and course forums. (? lines)
Version 22.33.1: Sep 29, 2022 TODO: Changes in program resources and attendance events. (? lines)
Version 22.33.1: Sep 29, 2022 Changes in program resources and attendance events. (332687 lines)
Version 22.33: Sep 29, 2022 Changes in program resources, documents and mark files. (332683 lines)
Version 22.32.4: Sep 29, 2022 Changes in program resources and surveys. (332650 lines)
Version 22.32.3: Sep 29, 2022 Changes in program resources and games. (332642 lines)