Version 17.25.3

This commit is contained in:
Antonio Cañas Vargas 2017-10-16 22:24:46 +02:00
parent e4c817a944
commit b3f151f1e1
2 changed files with 9 additions and 3 deletions

View File

@ -252,13 +252,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 17.25.2 (2017-10-11)"
#define Log_PLATFORM_VERSION "SWAD 17.25.3 (2017-10-16)"
#define CSS_FILE "swad17.25.2.css"
#define JS_FILE "swad17.17.1.js"
// 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 17.25.3: Oct 16, 2017 Surnames before names in listing of projects. Suggested by Pedro Villar Castro. (234351 lines)
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)

View File

@ -1769,8 +1769,13 @@ static void Prj_ShowTableAllProjectsMembersWithARole (const struct Project *Prj,
/* Get user's data */
if (Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&Gbl.Usrs.Other.UsrDat))
/* Write user's name */
fprintf (Gbl.F.Out,"<li>%s</li>",Gbl.Usrs.Other.UsrDat.FullName);
{
/* Write user's name in "Surname1 Surname2, FirstName" format */
fprintf (Gbl.F.Out,"<li>%s",Gbl.Usrs.Other.UsrDat.Surname1);
if (Gbl.Usrs.Other.UsrDat.Surname2[0])
fprintf (Gbl.F.Out," %s",Gbl.Usrs.Other.UsrDat.Surname2);
fprintf (Gbl.F.Out,", %s</li>",Gbl.Usrs.Other.UsrDat.FirstName);
}
}
fprintf (Gbl.F.Out,"</ul>");