mirror of https://github.com/acanas/swad-core.git
Version 17.5.9
This commit is contained in:
parent
1f451dac00
commit
60a2eed386
|
@ -252,13 +252,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 17.5.8 (2017-09-22)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 17.5.9 (2017-09-22)"
|
||||
#define CSS_FILE "swad17.0.css"
|
||||
#define JS_FILE "swad16.206.3.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.5.9: Sep 22, 2017 Icon to remove user from project. (230350 lines)
|
||||
Version 17.5.8: Sep 22, 2017 Name of department in listing of projects. (230336 lines)
|
||||
Version 17.5.7: Sep 21, 2017 Selector for department in edition of a project. (230363 lines)
|
||||
Version 17.5.6: Sep 21, 2017 Added evaluators to projects. (230347 lines)
|
||||
|
|
|
@ -604,6 +604,7 @@ static void Prj_ShowOneProjectUsrsRow (const struct Project *Prj,
|
|||
static void Prj_WriteUsrs (long PrjCod,Prj_ProjectView_t ProjectView,
|
||||
Prj_RoleInProject_t RoleInProject)
|
||||
{
|
||||
extern const char *Txt_Remove;
|
||||
extern const char *Txt_ROLES_SINGUL_abc[Rol_NUM_ROLES][Usr_NUM_SEXS];
|
||||
extern const char *Txt_ROLES_PLURAL_abc[Rol_NUM_ROLES][Usr_NUM_SEXS];
|
||||
extern const char *Txt_Add_user;
|
||||
|
@ -670,6 +671,20 @@ static void Prj_WriteUsrs (long PrjCod,Prj_ProjectView_t ProjectView,
|
|||
/* Get user's data */
|
||||
UsrValid = Usr_ChkUsrCodAndGetAllUsrDataFromUsrCod (&UsrDat);
|
||||
|
||||
/* Start row for this user */
|
||||
fprintf (Gbl.F.Out,"<tr>");
|
||||
|
||||
/* Icon to remove user */
|
||||
if (ProjectView == Prj_EDIT_ONE_PROJECT)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_TOP\" style=\"width:30px;\">");
|
||||
Lay_PutContextualLink (ActUnk,NULL,NULL,
|
||||
"remove-on64x64.png",
|
||||
Txt_Remove,NULL,
|
||||
NULL);
|
||||
fprintf (Gbl.F.Out,"</td>");
|
||||
}
|
||||
|
||||
/* Put user's photo */
|
||||
fprintf (Gbl.F.Out,"<td class=\"CENTER_TOP\" style=\"width:30px;\">");
|
||||
ShowPhoto = (UsrValid ? Pho_ShowingUsrPhotoIsAllowed (&UsrDat,PhotoURL) :
|
||||
|
|
Loading…
Reference in New Issue