mirror of https://github.com/acanas/swad-core.git
Version 22.32.1: Sep 29, 2022 Changes in program resources and calls for exams.
This commit is contained in:
parent
5c093ff11e
commit
797e32a5a2
|
@ -1812,6 +1812,7 @@ void Brw_GetParAndInitFileBrowser (void)
|
|||
break;
|
||||
|
||||
/***** Documents in project *****/
|
||||
case ActSeeOnePrj:
|
||||
case ActAdmDocPrj:
|
||||
case ActReqRemFilDocPrj:
|
||||
case ActRemFilDocPrj:
|
||||
|
|
|
@ -71,7 +71,7 @@ static void Cfe_GetDateToHighlight (struct Cfe_CallsForExams *CallsForExams);
|
|||
|
||||
static void Cfe_ListCallsForExams (struct Cfe_CallsForExams *CallsForExams,
|
||||
Cfe_TypeViewCallForExam_t TypeViewCallForExam);
|
||||
static void Cfe_PutIconToCreateNewCallForExam (__attribute__((unused)) void *Args);
|
||||
static void Cfe_PutIconsCallsForExams (__attribute__((unused)) void *Args);
|
||||
static void Cfe_PutButtonToCreateNewCallForExam (void);
|
||||
|
||||
static void Cfe_ShowCallForExam (struct Cfe_CallsForExams *CallsForExams,
|
||||
|
@ -628,7 +628,7 @@ static void Cfe_ListCallsForExams (struct Cfe_CallsForExams *CallsForExams,
|
|||
/***** Begin box *****/
|
||||
if (ICanEdit)
|
||||
Box_BoxBegin (NULL,Txt_Calls_for_exams,
|
||||
Cfe_PutIconToCreateNewCallForExam,NULL,
|
||||
Cfe_PutIconsCallsForExams,NULL,
|
||||
Hlp_ASSESSMENT_Calls_for_exams,Box_NOT_CLOSABLE);
|
||||
else
|
||||
Box_BoxBegin (NULL,Txt_Calls_for_exams,
|
||||
|
@ -683,12 +683,19 @@ static void Cfe_ListCallsForExams (struct Cfe_CallsForExams *CallsForExams,
|
|||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/******************* Put icon to create a new call for exam ******************/
|
||||
/*********************** Put icons in calls for exams ************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Cfe_PutIconToCreateNewCallForExam (__attribute__((unused)) void *Args)
|
||||
static void Cfe_PutIconsCallsForExams (__attribute__((unused)) void *Args)
|
||||
{
|
||||
/***** Put icon to create a new call for exam *****/
|
||||
Ico_PutContextualIconToAdd (ActEdiCfe,NULL,NULL,NULL);
|
||||
|
||||
/***** Link 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 (ActReqLnkCfe,NULL,
|
||||
NULL,NULL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -44,8 +44,7 @@ void Cfe_GetLinkToCallForExam (void)
|
|||
char Title[Cfe_MAX_BYTES_SESSION_AND_DATE];
|
||||
|
||||
/***** Get the code of the call for exam *****/
|
||||
if ((ExaCod = Cfe_GetParamExaCod ()) <= 0)
|
||||
Err_WrongCallForExamExit ();
|
||||
ExaCod = Cfe_GetParamExaCod ();
|
||||
|
||||
/***** Get session and date of the exam *****/
|
||||
CfeRsc_GetTitleFromExaCod (ExaCod,Title,sizeof (Title) - 1);
|
||||
|
|
|
@ -606,11 +606,12 @@ 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.32 (2022-09-29)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.32.1 (2022-09-29)"
|
||||
#define CSS_FILE "swad22.22.1.css"
|
||||
#define JS_FILE "swad21.100.js"
|
||||
/*
|
||||
Version 22.32: Sep 29, 2022 Code refactoring in program resources, assignments and projects. (332628 lines)
|
||||
Version 22.32.1: Sep 29, 2022 Changes in program resources and calls for exams. (332635 lines)
|
||||
Version 22.32: Sep 29, 2022 Changes in program resources, assignments and projects. (332628 lines)
|
||||
Version 22.31: Sep 28, 2022 New action to view one project.
|
||||
Code refactoring in program resources. (332570 lines)
|
||||
Version 22.30: Sep 28, 2022 New module swad_project_resource. (332490 lines)
|
||||
|
|
Loading…
Reference in New Issue