Version18.142.2

This commit is contained in:
Antonio Cañas Vargas 2019-09-10 11:14:56 +02:00
parent 0d2261a511
commit 21efd53862
2 changed files with 14 additions and 5 deletions

View File

@ -460,11 +460,15 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.142.1 (2019-09-10)"
#define Log_PLATFORM_VERSION "SWAD 18.142.2 (2019-09-10)"
#define CSS_FILE "swad18.138.css"
#define JS_FILE "swad18.130.2.js"
/*
Version 18.142.1: Sep 10, 2019 When a match is paused, backward/forward buttons go to previous/next question. (244383 lines)
Version 18.142.2: Sep 10, 2019 Elapsed time in question not shown in start and end. (244391 lines)
Version 18.142.1: Sep 10, 2019 When a match is paused, backward/forward buttons go to previous/next question. (244386 lines)
1 change necessary in database:
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1793','es','N','Mostrar enunciado y respuestas en partida (como profesor)');
Version 18.142: Sep 10, 2019 New action to see the stem/hide the answers of a question when playing a match. (244345 lines)
2 changes necessary in database:
UPDATE actions SET Txt='Comenzar/reanudar partida (como profesor)' WHERE ActCod='1789' AND Language='es';

View File

@ -3485,7 +3485,6 @@ void Gam_PauseMatchTch (void)
Gam_GetDataOfMatchByCod (&Match);
/***** Update status *****/
Match.Status.ShowingAnswers = false; // Don't show answers in any case
Match.Status.BeingPlayed = false; // Resume match
/***** Update match status in database *****/
@ -3803,8 +3802,14 @@ static void Gam_ShowLeftColumnTch (struct Match *Match)
/***** Write elapsed time in question *****/
fprintf (Gbl.F.Out,"<div class=\"MATCH_TIME_QST\">");
Gam_GetElapsedTimeInQuestion (Match,&Time);
Dat_WriteHoursMinutesSeconds (&Time);
if (Match->Status.QstInd > 0 &&
Match->Status.QstInd < Gam_AFTER_LAST_QUESTION)
{
Gam_GetElapsedTimeInQuestion (Match,&Time);
Dat_WriteHoursMinutesSeconds (&Time);
}
else
fprintf (Gbl.F.Out,"-");
fprintf (Gbl.F.Out,"</div>");
/***** Buttons *****/