mirror of https://github.com/acanas/swad-core.git
Version 23.57.2: Jan 19, 2024 Responsive design in attendance.
This commit is contained in:
parent
b7adfa5924
commit
6fc7327e00
|
@ -230,7 +230,7 @@ static void Att_ShowAllEvents (struct Att_Events *Events)
|
|||
Events->CurrentPage = (unsigned) Pagination.CurrentPage;
|
||||
|
||||
/***** Begin box *****/
|
||||
Box_BoxBegin ("100%",Txt_Events,
|
||||
Box_BoxBegin (NULL,Txt_Events,
|
||||
Att_PutIconsInListOfEvents,Events,
|
||||
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
||||
|
||||
|
@ -250,7 +250,7 @@ static void Att_ShowAllEvents (struct Att_Events *Events)
|
|||
if (Events->Num)
|
||||
{
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginWideMarginPadding (2);
|
||||
HTM_TABLE_Begin ("TBL_SCROLL");
|
||||
|
||||
/***** Table head *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
@ -1501,7 +1501,7 @@ static void Att_ListEventOnlyMeAsStudent (struct Att_Event *Event)
|
|||
|
||||
/***** List students (only me) *****/
|
||||
/* Begin table */
|
||||
HTM_TABLE_BeginWideMarginPadding (2);
|
||||
HTM_TABLE_Begin ("TBL_SCROLL");
|
||||
|
||||
/* Header */
|
||||
HTM_TR_Begin (NULL);
|
||||
|
@ -1579,7 +1579,7 @@ static void Att_ListEventStudents (struct Att_Events *Events)
|
|||
Grp_PutParsCodGrps ();
|
||||
|
||||
/* Begin table */
|
||||
HTM_TABLE_BeginWideMarginPadding (2);
|
||||
HTM_TABLE_Begin ("TBL_SCROLL");
|
||||
|
||||
/* Header */
|
||||
HTM_TR_Begin (NULL);
|
||||
|
@ -2643,7 +2643,7 @@ static void Att_ListEventsToSelect (struct Att_Events *Events,
|
|||
}
|
||||
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginWidePadding (2);
|
||||
HTM_TABLE_Begin ("TBL_SCROLL");
|
||||
|
||||
/***** Heading row *****/
|
||||
HTM_TR_Begin (NULL);
|
||||
|
@ -2772,7 +2772,7 @@ static void Att_ListUsrsAttendanceTable (struct Att_Events *Events,
|
|||
HTM_SECTION_Begin (Att_ATTENDANCE_TABLE_ID);
|
||||
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginCenterPadding (2);
|
||||
HTM_TABLE_Begin ("TBL_SCROLL");
|
||||
|
||||
/***** Heading row *****/
|
||||
Att_WriteTableHeadSeveralAttEvents (Events);
|
||||
|
@ -3006,29 +3006,35 @@ static void Att_ListStdsWithAttEventsDetails (struct Att_Events *Events,
|
|||
/***** Begin section with attendance details *****/
|
||||
HTM_SECTION_Begin (Att_ATTENDANCE_DETAILS_ID);
|
||||
|
||||
/***** Begin box and table *****/
|
||||
Box_BoxTableBegin (NULL,Txt_Details,
|
||||
NULL,NULL,
|
||||
NULL,Box_NOT_CLOSABLE,2);
|
||||
/***** Begin box *****/
|
||||
Box_BoxBegin (NULL,Txt_Details,
|
||||
NULL,NULL,
|
||||
NULL,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** List students with attendance details *****/
|
||||
for (NumUsr = 0;
|
||||
NumUsr < NumUsrsInList;
|
||||
NumUsr++)
|
||||
{
|
||||
UsrDat.UsrCod = LstSelectedUsrCods[NumUsr];
|
||||
if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat, // Get from the database the data of the student
|
||||
Usr_DONT_GET_PREFS,
|
||||
Usr_DONT_GET_ROLE_IN_CRS))
|
||||
if (Usr_CheckIfICanViewAtt (&UsrDat))
|
||||
{
|
||||
UsrDat.Accepted = Enr_CheckIfUsrHasAcceptedInCurrentCrs (&UsrDat);
|
||||
Att_ListAttEventsForAStd (Events,NumUsr,&UsrDat);
|
||||
}
|
||||
}
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_Begin ("TBL_SCROLL");
|
||||
|
||||
/***** End table and box *****/
|
||||
Box_BoxTableEnd ();
|
||||
/***** List students with attendance details *****/
|
||||
for (NumUsr = 0;
|
||||
NumUsr < NumUsrsInList;
|
||||
NumUsr++)
|
||||
{
|
||||
UsrDat.UsrCod = LstSelectedUsrCods[NumUsr];
|
||||
if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat, // Get from the database the data of the student
|
||||
Usr_DONT_GET_PREFS,
|
||||
Usr_DONT_GET_ROLE_IN_CRS))
|
||||
if (Usr_CheckIfICanViewAtt (&UsrDat))
|
||||
{
|
||||
UsrDat.Accepted = Enr_CheckIfUsrHasAcceptedInCurrentCrs (&UsrDat);
|
||||
Att_ListAttEventsForAStd (Events,NumUsr,&UsrDat);
|
||||
}
|
||||
}
|
||||
|
||||
/***** End table *****/
|
||||
HTM_TABLE_End ();
|
||||
|
||||
/***** End box *****/
|
||||
Box_BoxEnd ();
|
||||
|
||||
/***** End section with attendance details *****/
|
||||
HTM_SECTION_End ();
|
||||
|
|
|
@ -633,11 +633,12 @@ Me sale este error, no s
|
|||
"can npt create received message (duplicated entry '243218-2160773' for key 'UsrCod_MsgCod')
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 23.57.1 (2024-01-19)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 23.57.2 (2024-01-19)"
|
||||
#define CSS_FILE "swad23.57.css"
|
||||
#define JS_FILE "swad23.53.6.js"
|
||||
/*
|
||||
Version 23.57.1: Jan 19, 2024 Responsive design in agenda. (? lines)
|
||||
Version 23.57.2: Jan 19, 2024 Responsive design in attendance. (335675 lines)
|
||||
Version 23.57.1: Jan 19, 2024 Responsive design in agenda. (335670 lines)
|
||||
Version 23.57: Jan 19, 2024 Responsive design and changes in layout in assignment/works file browsers. (335669 lines)
|
||||
Version 23.56: Jan 18, 2024 Responsive design and changes in layout in file browsers. (335649 lines)
|
||||
Version 23.55.1: Jan 17, 2024 Responsive design in groups. (335787 lines)
|
||||
|
|
|
@ -42381,7 +42381,7 @@ const char *Txt_Show_more_details =
|
|||
#elif L==5 // fr
|
||||
"Montrer plus de détails";
|
||||
#elif L==6 // gn
|
||||
"Mostrar más detalles"; // Okoteve traducción
|
||||
"Ehechauka hetave detalle";
|
||||
#elif L==7 // it
|
||||
"Mostra più dettagli";
|
||||
#elif L==8 // pl
|
||||
|
@ -42389,7 +42389,7 @@ const char *Txt_Show_more_details =
|
|||
#elif L==9 // pt
|
||||
"Mostrar mais detalhes";
|
||||
#elif L==10 // tr
|
||||
"Show more details"; // Çeviri lazim!
|
||||
"Daha fazla ayrıntı göster";
|
||||
#endif
|
||||
|
||||
const char *Txt_Show_more_recipients =
|
||||
|
@ -45119,7 +45119,7 @@ const char *Txt_Student_comment =
|
|||
#elif L==5 // fr
|
||||
"Commentaire de l'étudiant";
|
||||
#elif L==6 // gn
|
||||
"Comentario del estudiante"; // Okoteve traducción
|
||||
"Temimbo'e he'íva";
|
||||
#elif L==7 // it
|
||||
"Commento di student";
|
||||
#elif L==8 // pl
|
||||
|
@ -45127,7 +45127,7 @@ const char *Txt_Student_comment =
|
|||
#elif L==9 // pt
|
||||
"Comentário do estudante";
|
||||
#elif L==10 // tr
|
||||
"Student's comment"; // Çeviri lazim!
|
||||
"Öğrencinin yorumu";
|
||||
#endif
|
||||
|
||||
const char *Txt_students_ABBREVIATION = // Abbreviation of "students"
|
||||
|
|
Loading…
Reference in New Issue