",
UsrDat->FirstName);
- /***** Icon to show if the user is already registered *****/
+ /***** Check/cross to show if the user is present/absent *****/
for (NumAttEvent = 0, NumTimesPresent = 0;
NumAttEvent < Gbl.AttEvents.Num;
NumAttEvent++)
if (Gbl.AttEvents.Lst[NumAttEvent].Selected)
{
- /***** Check if this student is already registered in the current event *****/
+ /* Check if this student is already registered in the current event */
// Here it is not necessary to get comments
- Present = Att_CheckIfUsrIsPresentInAttEvent (Gbl.AttEvents.Lst[NumAttEvent].AttCod,UsrDat->UsrCod);
+ Present = Att_CheckIfUsrIsPresentInAttEvent (Gbl.AttEvents.Lst[NumAttEvent].AttCod,
+ UsrDat->UsrCod);
- fprintf (Gbl.F.Out,"
",
- Gbl.RowEvenOdd,
- Gbl.RowEvenOdd,
- NumAttEvent + 1,
- Gbl.RowEvenOdd,
- Gbl.Prefs.URLIcons,
- Present ? "check-square.svg" :
- "square.svg",
- Present ? Txt_Present :
- Txt_Absent,
- Present ? Txt_Present :
- Txt_Absent,
UniqueId,
Gbl.AttEvents.Lst[NumAttEvent].Title,
UniqueId,Gbl.AttEvents.Lst[NumAttEvent].TimeUTC[Att_START_TIME],
diff --git a/swad_changelog.h b/swad_changelog.h
index 1361c2a45..0a0ae4e31 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -356,8 +356,6 @@ Buenos d
// TODO: Sale de vez en cuando un mensaje "Can not get information about a file or folder.", por ejemplo en el timeline.
-// TODO: Tabla de asistencia con símbolos tip ok como entidades HTML
-
// TODO: Pedro Villar Castro:
// Al asignar un TFG a alumnos, no escribir el DNI del alumno, sino escogerlo de una lista de entre los alumnos inscritos en la asignatura.
@@ -386,10 +384,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
-#define Log_PLATFORM_VERSION "SWAD 18.40.1 (2019-02-13)"
-#define CSS_FILE "swad18.33.css"
+#define Log_PLATFORM_VERSION "SWAD 18.41 (2019-02-13)"
+#define CSS_FILE "swad18.41.css"
#define JS_FILE "swad18.32.1.js"
/*
+ Version 18.41: Feb 13, 2019 Changes in attendance marks for present/absent. (239203 lines)
Version 18.40.1: Feb 13, 2019 Code refactorization in firewall. (239201 lines)
Version 18.40: Feb 13, 2019 New table for banned IPs to mitigate DoS attacks. (239198 lines)
2 changes necessary in database: