mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-15 05:04:11 +02:00
Version19.6.2
This commit is contained in:
parent
5d301985af
commit
18f8e08567
|
@ -459,10 +459,11 @@ 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 19.6.1 (2019-09-17)"
|
#define Log_PLATFORM_VERSION "SWAD 19.6.2 (2019-09-17)"
|
||||||
#define CSS_FILE "swad19.3.css"
|
#define CSS_FILE "swad19.3.css"
|
||||||
#define JS_FILE "swad18.130.2.js"
|
#define JS_FILE "swad18.130.2.js"
|
||||||
/*
|
/*
|
||||||
|
Version 19.6.2: Sep 17, 2019 Link to see the matches results. Not finished. (244649 lines)
|
||||||
Version 19.6.1: Sep 17, 2019 Fixed bug while removing a game. (244601 lines)
|
Version 19.6.1: Sep 17, 2019 Fixed bug while removing a game. (244601 lines)
|
||||||
Version 19.6: Sep 17, 2019 Remove actions to reset a game. (244600 lines)
|
Version 19.6: Sep 17, 2019 Remove actions to reset a game. (244600 lines)
|
||||||
1 change necessary in database:
|
1 change necessary in database:
|
||||||
|
|
15
swad_game.c
15
swad_game.c
|
@ -156,6 +156,21 @@ static void Gam_ListAllGames (void)
|
||||||
struct Pagination Pagination;
|
struct Pagination Pagination;
|
||||||
unsigned NumGame;
|
unsigned NumGame;
|
||||||
|
|
||||||
|
/***** Put link to view matches results *****/
|
||||||
|
switch (Gbl.Usrs.Me.Role.Logged)
|
||||||
|
{
|
||||||
|
case Rol_STD:
|
||||||
|
Mch_PutFormToViewResultsOfMatches (ActReqSeeMyTstRes); // TODO: Change action!!!!
|
||||||
|
break;
|
||||||
|
case Rol_NET:
|
||||||
|
case Rol_TCH:
|
||||||
|
case Rol_SYS_ADM:
|
||||||
|
Mch_PutFormToViewResultsOfMatches (ActReqSeeUsrTstRes); // TODO: Change action!!!!
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/***** Get number of groups in current course *****/
|
/***** Get number of groups in current course *****/
|
||||||
if (!Gbl.Crs.Grps.NumGrps)
|
if (!Gbl.Crs.Grps.NumGrps)
|
||||||
Gbl.Crs.Grps.WhichGrps = Grp_ALL_GROUPS;
|
Gbl.Crs.Grps.WhichGrps = Grp_ALL_GROUPS;
|
||||||
|
|
15
swad_match.c
15
swad_match.c
|
@ -2437,3 +2437,18 @@ static void Mch_DrawBarNumUsrs (unsigned NumAnswerersAns,unsigned NumAnswerersQs
|
||||||
/***** End container *****/
|
/***** End container *****/
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
/****************** Write a form to go to result of matches ******************/
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
void Mch_PutFormToViewResultsOfMatches (Act_Action_t Action)
|
||||||
|
{
|
||||||
|
extern const char *Txt_Matches_results;
|
||||||
|
|
||||||
|
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||||
|
Lay_PutContextualLinkIconText (Action,NULL,NULL,
|
||||||
|
"tasks.svg",
|
||||||
|
Txt_Matches_results);
|
||||||
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
}
|
||||||
|
|
|
@ -67,4 +67,6 @@ void Mch_GetAndDrawBarNumUsrsWhoHaveChosenAns (long MchCod,unsigned QstInd,unsig
|
||||||
unsigned NumAnswerersQst,bool Correct);
|
unsigned NumAnswerersQst,bool Correct);
|
||||||
unsigned Mch_GetNumUsrsWhoHaveAnswerQst (long MchCod,unsigned QstInd);
|
unsigned Mch_GetNumUsrsWhoHaveAnswerQst (long MchCod,unsigned QstInd);
|
||||||
|
|
||||||
|
void Mch_PutFormToViewResultsOfMatches (Act_Action_t Action);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
23
swad_text.c
23
swad_text.c
|
@ -18054,7 +18054,28 @@ const char *Txt_Matches = // of a game
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Mecze";
|
"Mecze";
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Jogos";
|
"Partidas";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Matches_results =
|
||||||
|
#if L==1 // ca
|
||||||
|
"Resultats de partides";
|
||||||
|
#elif L==2 // de
|
||||||
|
"Spielergebnisse";
|
||||||
|
#elif L==3 // en
|
||||||
|
"Matches results";
|
||||||
|
#elif L==4 // es
|
||||||
|
"Resultados de las partidas";
|
||||||
|
#elif L==5 // fr
|
||||||
|
"Résultats des matchs";
|
||||||
|
#elif L==6 // gn
|
||||||
|
"Resultados de las partidas"; // Okoteve traducción
|
||||||
|
#elif L==7 // it
|
||||||
|
"Risultati delle partite";
|
||||||
|
#elif L==8 // pl
|
||||||
|
"Wyniki meczów";
|
||||||
|
#elif L==9 // pt
|
||||||
|
"Resultados das partidas";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *Txt_Materials =
|
const char *Txt_Materials =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user