mirror of https://github.com/acanas/swad-core.git
Version20.7.3
This commit is contained in:
parent
f15c6be659
commit
02ea922ebe
|
@ -1064,6 +1064,11 @@ void Asg_RemoveAssignment (void)
|
||||||
/***** Reset assignments *****/
|
/***** Reset assignments *****/
|
||||||
Asg_ResetAssignments (&Assignments);
|
Asg_ResetAssignments (&Assignments);
|
||||||
|
|
||||||
|
/***** Get parameters *****/
|
||||||
|
Assignments.SelectedOrder = Asg_GetParamAsgOrder ();
|
||||||
|
Gbl.Crs.Grps.WhichGrps = Grp_GetParamWhichGroups ();
|
||||||
|
Assignments.CurrentPage = Pag_GetParamPagNum (Pag_ASSIGNMENTS);
|
||||||
|
|
||||||
/***** Get assignment code *****/
|
/***** Get assignment code *****/
|
||||||
if ((Asg.AsgCod = Asg_GetParamAsgCod ()) == -1L)
|
if ((Asg.AsgCod = Asg_GetParamAsgCod ()) == -1L)
|
||||||
Lay_ShowErrorAndExit ("Code of assignment is missing.");
|
Lay_ShowErrorAndExit ("Code of assignment is missing.");
|
||||||
|
@ -1106,6 +1111,11 @@ void Asg_HideAssignment (void)
|
||||||
/***** Reset assignments *****/
|
/***** Reset assignments *****/
|
||||||
Asg_ResetAssignments (&Assignments);
|
Asg_ResetAssignments (&Assignments);
|
||||||
|
|
||||||
|
/***** Get parameters *****/
|
||||||
|
Assignments.SelectedOrder = Asg_GetParamAsgOrder ();
|
||||||
|
Gbl.Crs.Grps.WhichGrps = Grp_GetParamWhichGroups ();
|
||||||
|
Assignments.CurrentPage = Pag_GetParamPagNum (Pag_ASSIGNMENTS);
|
||||||
|
|
||||||
/***** Get assignment code *****/
|
/***** Get assignment code *****/
|
||||||
if ((Asg.AsgCod = Asg_GetParamAsgCod ()) == -1L)
|
if ((Asg.AsgCod = Asg_GetParamAsgCod ()) == -1L)
|
||||||
Lay_ShowErrorAndExit ("Code of assignment is missing.");
|
Lay_ShowErrorAndExit ("Code of assignment is missing.");
|
||||||
|
@ -1135,6 +1145,11 @@ void Asg_ShowAssignment (void)
|
||||||
/***** Reset assignments *****/
|
/***** Reset assignments *****/
|
||||||
Asg_ResetAssignments (&Assignments);
|
Asg_ResetAssignments (&Assignments);
|
||||||
|
|
||||||
|
/***** Get parameters *****/
|
||||||
|
Assignments.SelectedOrder = Asg_GetParamAsgOrder ();
|
||||||
|
Gbl.Crs.Grps.WhichGrps = Grp_GetParamWhichGroups ();
|
||||||
|
Assignments.CurrentPage = Pag_GetParamPagNum (Pag_ASSIGNMENTS);
|
||||||
|
|
||||||
/***** Get assignment code *****/
|
/***** Get assignment code *****/
|
||||||
if ((Asg.AsgCod = Asg_GetParamAsgCod ()) == -1L)
|
if ((Asg.AsgCod = Asg_GetParamAsgCod ()) == -1L)
|
||||||
Lay_ShowErrorAndExit ("Code of assignment is missing.");
|
Lay_ShowErrorAndExit ("Code of assignment is missing.");
|
||||||
|
@ -1417,6 +1432,11 @@ void Asg_ReceiveFormAssignment (void)
|
||||||
/***** Reset assignments *****/
|
/***** Reset assignments *****/
|
||||||
Asg_ResetAssignments (&Assignments);
|
Asg_ResetAssignments (&Assignments);
|
||||||
|
|
||||||
|
/***** Get parameters *****/
|
||||||
|
Assignments.SelectedOrder = Asg_GetParamAsgOrder ();
|
||||||
|
Grp_GetParamWhichGroups ();
|
||||||
|
Assignments.CurrentPage = Pag_GetParamPagNum (Pag_ASSIGNMENTS);
|
||||||
|
|
||||||
/***** Get the code of the assignment *****/
|
/***** Get the code of the assignment *****/
|
||||||
NewAsg.AsgCod = Asg_GetParamAsgCod ();
|
NewAsg.AsgCod = Asg_GetParamAsgCod ();
|
||||||
ItsANewAssignment = (NewAsg.AsgCod < 0);
|
ItsANewAssignment = (NewAsg.AsgCod < 0);
|
||||||
|
@ -1541,7 +1561,7 @@ void Asg_ReceiveFormAssignment (void)
|
||||||
Asg_UpdateNumUsrsNotifiedByEMailAboutAssignment (NewAsg.AsgCod,NumUsrsToBeNotifiedByEMail);
|
Asg_UpdateNumUsrsNotifiedByEMailAboutAssignment (NewAsg.AsgCod,NumUsrsToBeNotifiedByEMail);
|
||||||
|
|
||||||
/***** Show all assignments again *****/
|
/***** Show all assignments again *****/
|
||||||
Asg_ShowAllAssignments (&Assignments);
|
Asg_ShowAllAssignments (&Assignments);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
// TODO: The form should be filled with partial data, now is always empty
|
// TODO: The form should be filled with partial data, now is always empty
|
||||||
|
|
|
@ -555,7 +555,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 20.7.1 (2020-11-25)"
|
#define Log_PLATFORM_VERSION "SWAD 20.7.3 (2020-11-26)"
|
||||||
#define CSS_FILE "swad20.1.1.css"
|
#define CSS_FILE "swad20.1.1.css"
|
||||||
#define JS_FILE "swad20.6.2.js"
|
#define JS_FILE "swad20.6.2.js"
|
||||||
/*
|
/*
|
||||||
|
@ -602,6 +602,7 @@ Juan Miguel.
|
||||||
TODO: Fix bug: un profesor editor no puede ver las carpetas de TFG (proyectos) de otros. Debería poder.
|
TODO: Fix bug: un profesor editor no puede ver las carpetas de TFG (proyectos) de otros. Debería poder.
|
||||||
TODO: DNI de un estudiante sale erróneamente como ******* en lugar de mostrarse al ver los accesos de un estudiante a la asignatura.
|
TODO: DNI de un estudiante sale erróneamente como ******* en lugar de mostrarse al ver los accesos de un estudiante a la asignatura.
|
||||||
|
|
||||||
|
Version 20.7.3: Nov 26, 2020 Fixed bugs in pagination when editing assignments. (304706 lines)
|
||||||
Version 20.7.2: Nov 25, 2020 Changes in edition of matches. (304690 lines)
|
Version 20.7.2: Nov 25, 2020 Changes in edition of matches. (304690 lines)
|
||||||
Version 20.7.1: Nov 25, 2020 New file extension .ipynb, suggested by Pedro A. García Sánchez. (304688 lines)
|
Version 20.7.1: Nov 25, 2020 New file extension .ipynb, suggested by Pedro A. García Sánchez. (304688 lines)
|
||||||
Copy the following icon to icon public directory:
|
Copy the following icon to icon public directory:
|
||||||
|
|
|
@ -4984,9 +4984,8 @@ void Grp_PutParamAllGroups (void)
|
||||||
void Grp_PutParamWhichGroups (void *WhichGrps)
|
void Grp_PutParamWhichGroups (void *WhichGrps)
|
||||||
{
|
{
|
||||||
if (WhichGrps)
|
if (WhichGrps)
|
||||||
if (*((Grp_WhichGroups_t *) WhichGrps) != Grp_WHICH_GROUPS_DEFAULT)
|
Par_PutHiddenParamUnsigned (NULL,"WhichGrps",
|
||||||
Par_PutHiddenParamUnsigned (NULL,"WhichGrps",
|
(unsigned) *((Grp_WhichGroups_t *) WhichGrps));
|
||||||
(unsigned) *((Grp_WhichGroups_t *) WhichGrps));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Grp_PutParamWhichGrpsOnlyMyGrps (void)
|
void Grp_PutParamWhichGrpsOnlyMyGrps (void)
|
||||||
|
|
Loading…
Reference in New Issue