mirror of https://github.com/acanas/swad-core.git
Version19.19.1
This commit is contained in:
parent
15086bfbc9
commit
f97c3d8ad1
|
@ -475,7 +475,7 @@ ps2pdf source.ps destination.pdf
|
|||
#define CSS_FILE "swad19.15.css"
|
||||
#define JS_FILE "swad19.15.js"
|
||||
/*
|
||||
Version 19.19.1: Sep 29, 2019 Students will not see matches for groups to which they don't belong.
|
||||
Version 19.19.1: Sep 29, 2019 Students will not see matches for groups to which they don't belong. (246601 lines)
|
||||
Version 19.19: Sep 29, 2019 Selections of my groups/all groups in listing of matches.
|
||||
Removed column with number of match. (246596 lines)
|
||||
Version 19.18.2: Sep 28, 2019 Code refactoring related to errors. (246585 lines)
|
||||
|
|
|
@ -5059,7 +5059,7 @@ void Grp_GetParamWhichGrps (void)
|
|||
case ActPrnCrsTT: // Print course timetable
|
||||
case ActChgCrsTT1stDay:// Change first day of week in course timetable
|
||||
case ActSeeAsg: // List assignments
|
||||
case ActSeeGam: // List games
|
||||
case ActSeeAllGam: // List games
|
||||
case ActSeeAllSvy: // List surveys
|
||||
case ActSeeAtt: // List attendance
|
||||
/*
|
||||
|
|
19
swad_match.c
19
swad_match.c
|
@ -635,6 +635,7 @@ static void Mch_ListOneOrMoreMatchesStatus (const struct Match *Match,unsigned N
|
|||
{
|
||||
extern const char *Txt_Play;
|
||||
extern const char *Txt_Resume;
|
||||
bool IBelongToGroups;
|
||||
|
||||
fprintf (Gbl.F.Out,"<td class=\"DAT CENTER_TOP COLOR%u\">",Gbl.RowEvenOdd);
|
||||
|
||||
|
@ -646,13 +647,17 @@ static void Mch_ListOneOrMoreMatchesStatus (const struct Match *Match,unsigned N
|
|||
switch (Gbl.Usrs.Me.Role.Logged)
|
||||
{
|
||||
case Rol_STD:
|
||||
/* Icon to play as student */
|
||||
Mch_CurrentMchCod = Match->MchCod;
|
||||
Lay_PutContextualLinkOnlyIcon (ActPlyMchStd,NULL,
|
||||
Mch_PutParams,
|
||||
Match->Status.QstInd < Mch_AFTER_LAST_QUESTION ? "play.svg" :
|
||||
"flag-checkered.svg",
|
||||
Txt_Play);
|
||||
IBelongToGroups = Mch_CheckIfIPlayThisMatchBasedOnGrps (Match->MchCod);
|
||||
if (IBelongToGroups)
|
||||
{
|
||||
/* Icon to play as student */
|
||||
Mch_CurrentMchCod = Match->MchCod;
|
||||
Lay_PutContextualLinkOnlyIcon (ActPlyMchStd,NULL,
|
||||
Mch_PutParams,
|
||||
Match->Status.QstInd < Mch_AFTER_LAST_QUESTION ? "play.svg" :
|
||||
"flag-checkered.svg",
|
||||
Txt_Play);
|
||||
}
|
||||
break;
|
||||
case Rol_NET:
|
||||
case Rol_TCH:
|
||||
|
|
Loading…
Reference in New Issue