mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-02 14:55:23 +02:00
Version 17.25.2
This commit is contained in:
parent
797d8a3be2
commit
e4c817a944
|
@ -2259,6 +2259,13 @@ a:hover img.CENTRE_PHOTO_SHOW
|
||||||
/********************** Number of question, project, etc. ********************/
|
/********************** Number of question, project, etc. ********************/
|
||||||
.BIG_INDEX {color:#808080; font-size:20pt; font-weight:bold;}
|
.BIG_INDEX {color:#808080; font-size:20pt; font-weight:bold;}
|
||||||
|
|
||||||
|
/******************************** Projects ***********************************/
|
||||||
|
.PRJ_LST_USR
|
||||||
|
{
|
||||||
|
margin:0;
|
||||||
|
padding-left:1em;
|
||||||
|
}
|
||||||
|
|
||||||
/********************************** Tests ************************************/
|
/********************************** Tests ************************************/
|
||||||
.TAG_SEL {box-sizing:border-box; width:346px;}
|
.TAG_SEL {box-sizing:border-box; width:346px;}
|
||||||
.TAG_TXT {box-sizing:border-box; width:346px;}
|
.TAG_TXT {box-sizing:border-box; width:346px;}
|
|
@ -248,19 +248,19 @@
|
||||||
|
|
||||||
// TODO: "Administrar varios profesores no editores" -> debería poder hacerlo un profesor (Perico)
|
// TODO: "Administrar varios profesores no editores" -> debería poder hacerlo un profesor (Perico)
|
||||||
|
|
||||||
// TODO: Los profesores no editores no deberían recibir notificaciones de solicitudes de inscripción.
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 17.25.1 (2017-10-10)"
|
#define Log_PLATFORM_VERSION "SWAD 17.25.2 (2017-10-11)"
|
||||||
#define CSS_FILE "swad17.25.css"
|
#define CSS_FILE "swad17.25.2.css"
|
||||||
#define JS_FILE "swad17.17.1.js"
|
#define JS_FILE "swad17.17.1.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 17.25.2: Oct 11, 2017 Students' IDs removed from listing of projects. Suggested by Pedro Villar Castro.
|
||||||
|
Fixed bug in listing of projects. (234345 lines)
|
||||||
Version 17.25.1: Oct 10, 2017 Fixed problem in layout of projects. (234357 lines)
|
Version 17.25.1: Oct 10, 2017 Fixed problem in layout of projects. (234357 lines)
|
||||||
Version 17.25: Oct 10, 2017 New column with the number of the project in listing of projects. (234336 lines)
|
Version 17.25: Oct 10, 2017 New column with the number of the project in listing of projects. (234336 lines)
|
||||||
Version 17.24.2: Oct 10, 2017 Code refactoring in projects filter. (234209 lines)
|
Version 17.24.2: Oct 10, 2017 Code refactoring in projects filter. (234209 lines)
|
||||||
|
|
|
@ -1692,14 +1692,6 @@ static void Prj_ShowOneProjectMembersWithARole (const struct Project *Prj,
|
||||||
"PHOTO21x28",Pho_ZOOM,false);
|
"PHOTO21x28",Pho_ZOOM,false);
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
fprintf (Gbl.F.Out,"</td>");
|
||||||
|
|
||||||
/* Write user's IDs */
|
|
||||||
if (RoleInProject == Prj_ROLE_STD)
|
|
||||||
{
|
|
||||||
fprintf (Gbl.F.Out,"<td class=\"AUTHOR_TXT LEFT_MIDDLE\">");
|
|
||||||
ID_WriteUsrIDs (&Gbl.Usrs.Other.UsrDat,NULL);
|
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Write user's name */
|
/* Write user's name */
|
||||||
fprintf (Gbl.F.Out,"<td class=\"AUTHOR_TXT LEFT_MIDDLE\">%s</td>",
|
fprintf (Gbl.F.Out,"<td class=\"AUTHOR_TXT LEFT_MIDDLE\">%s</td>",
|
||||||
Gbl.Usrs.Other.UsrDat.FullName);
|
Gbl.Usrs.Other.UsrDat.FullName);
|
||||||
|
@ -1765,7 +1757,7 @@ static void Prj_ShowTableAllProjectsMembersWithARole (const struct Project *Prj,
|
||||||
if (NumUsrs)
|
if (NumUsrs)
|
||||||
{
|
{
|
||||||
/***** Write users *****/
|
/***** Write users *****/
|
||||||
fprintf (Gbl.F.Out,"<ul>");
|
fprintf (Gbl.F.Out,"<ul class=\"PRJ_LST_USR\">");
|
||||||
|
|
||||||
for (NumUsr = 0;
|
for (NumUsr = 0;
|
||||||
NumUsr < NumUsrs;
|
NumUsr < NumUsrs;
|
||||||
|
@ -1777,23 +1769,8 @@ static void Prj_ShowTableAllProjectsMembersWithARole (const struct Project *Prj,
|
||||||
|
|
||||||
/* Get user's data */
|
/* Get user's data */
|
||||||
if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&Gbl.Usrs.Other.UsrDat))
|
if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&Gbl.Usrs.Other.UsrDat))
|
||||||
{
|
|
||||||
/* Start row for this user */
|
|
||||||
fprintf (Gbl.F.Out,"<li>");
|
|
||||||
|
|
||||||
/* Write user's IDs */
|
|
||||||
if (RoleInProject == Prj_ROLE_STD)
|
|
||||||
{
|
|
||||||
ID_WriteUsrIDs (&Gbl.Usrs.Other.UsrDat,NULL);
|
|
||||||
fprintf (Gbl.F.Out,"<br />");
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Write user's name */
|
/* Write user's name */
|
||||||
fprintf (Gbl.F.Out,"%s",Gbl.Usrs.Other.UsrDat.FullName);
|
fprintf (Gbl.F.Out,"<li>%s</li>",Gbl.Usrs.Other.UsrDat.FullName);
|
||||||
|
|
||||||
/* End row for this user */
|
|
||||||
fprintf (Gbl.F.Out,"</li>");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"</ul>");
|
fprintf (Gbl.F.Out,"</ul>");
|
||||||
|
@ -2323,7 +2300,7 @@ void Prj_GetListProjects (void)
|
||||||
Prj_MAX_BYTES_SUBQUERY); // Non-preassigned projects
|
Prj_MAX_BYTES_SUBQUERY); // Non-preassigned projects
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
HidVisSubQuery[0] = '\0'; // All projects
|
PreNonSubQuery[0] = '\0'; // All projects
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user