Version 14.105.1

This commit is contained in:
Antonio Cañas Vargas 2015-03-30 14:51:32 +02:00
parent 7bf7c17e1f
commit 5a06cdbd89
3 changed files with 14 additions and 7 deletions

View File

@ -103,11 +103,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.105 (2015/03/30)"
#define Log_PLATFORM_VERSION "SWAD 14.105.1 (2015/03/30)"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
/*
Version 14.105.1: Mar 30, 2015 Shared record card is shown after updating course record card. (183937 lines)
Version 14.105: Mar 30, 2015 Removed option in the assessment tab to view course card. (183932 lines)
1 change necessary in database:
UPDATE actions SET Obsolete='Y' WHERE ActCod='299';

View File

@ -75,6 +75,7 @@ static void Rec_GetParamRecordsPerPage (void);
static void Rec_WriteFormShowOfficeHours (bool ShowOfficeHours,const char *ListUsrCods);
static bool Rec_GetParamShowOfficeHours (void);
static void Rec_ShowMyCrsRecordUpdated (void);
static void Rec_ShowOtherCrsRecordUpdated (void);
static void Rec_WriteLinkToDataProtectionClause (void);
static void Rec_GetUsrCommentsFromForm (struct UsrData *UsrDat);
@ -1759,10 +1760,13 @@ static void Rec_ShowMyCrsRecordUpdated (void)
{
extern const char *Txt_Your_record_card_in_this_course_has_been_updated;
/***** Write mensaje of confirmación *****/
/***** Write mensaje of success *****/
Lay_ShowAlert (Lay_SUCCESS,Txt_Your_record_card_in_this_course_has_been_updated);
/***** Show user's record ya actualizada *****/
/***** Common record *****/
Rec_ShowSharedUsrRecord (Rec_RECORD_LIST,&Gbl.Usrs.Me.UsrDat);
/***** Show updated user's record *****/
Rec_ShowCrsRecord (Rec_MY_COURSE_RECORD_CHECK,&Gbl.Usrs.Me.UsrDat);
}
@ -1770,14 +1774,17 @@ static void Rec_ShowMyCrsRecordUpdated (void)
/**************** Show updated user's record in the course *******************/
/*****************************************************************************/
void Rec_ShowOtherCrsRecordUpdated (void)
static void Rec_ShowOtherCrsRecordUpdated (void)
{
extern const char *Txt_Student_record_card_in_this_course_has_been_updated;
/***** Write mensaje of confirmación *****/
/***** Write mensaje of success *****/
Lay_ShowAlert (Lay_SUCCESS,Txt_Student_record_card_in_this_course_has_been_updated);
/***** Show user's record ya actualizada *****/
/***** Common record *****/
Rec_ShowSharedUsrRecord (Rec_RECORD_LIST,&Gbl.Usrs.Other.UsrDat);
/***** Show updated user's record *****/
Rec_ShowCrsRecord (Rec_OTHER_USR_COURSE_RECORD_CHECK,&Gbl.Usrs.Other.UsrDat);
}

View File

@ -144,7 +144,6 @@ void Rec_GetFieldsCrsRecordFromForm (void);
void Rec_UpdateCrsRecord (long UsrCod);
void Rec_RemoveFieldsCrsRecordInCrs (long UsrCod,struct Course *Crs,Cns_QuietOrVerbose_t QuietOrVerbose);
void Rec_RemoveFieldsCrsRecordAll (long UsrCod,Cns_QuietOrVerbose_t QuietOrVerbose);
void Rec_ShowOtherCrsRecordUpdated (void);
void Rec_AllocMemFieldsRecordsCrs (void);
void Rec_FreeMemFieldsRecordsCrs (void);