diff --git a/swad_changelog.h b/swad_changelog.h index e680c76e2..da38cfb37 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_project.c b/swad_project.c index c373ecc94..89deeb0dd 100644 --- a/swad_project.c +++ b/swad_project.c @@ -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,"
  • %s
  • ",Gbl.Usrs.Other.UsrDat.FullName); + { + /* Write user's name in "Surname1 Surname2, FirstName" format */ + fprintf (Gbl.F.Out,"
  • %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
  • ",Gbl.Usrs.Other.UsrDat.FirstName); + } } fprintf (Gbl.F.Out,"");