Version 16.144.2

This commit is contained in:
Antonio Cañas Vargas 2017-03-01 17:06:24 +01:00
parent 9014890224
commit e88236c9db
2 changed files with 13 additions and 1 deletions

View File

@ -194,17 +194,20 @@
// TODO: Un administrador de institución, ¿debería poder cambiar la contraseña de un usuario de esa institución? No lo tengo claro.
// TODO: Poner botón de crear lugares si no se ha creado ningún lugar
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.144.1 (2017-03-01)"
#define Log_PLATFORM_VERSION "SWAD 16.144.2 (2017-03-01)"
#define CSS_FILE "swad16.144.css"
#define JS_FILE "swad16.144.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 16.144.2: Mar 01, 2017 Button to create a new group when no groups have been created. (213300 lines)
Version 16.144.1: Mar 01, 2017 Zoom photo even if user has no photo.
Country name is cached. (213290 lines)
Version 16.144: Mar 01, 2017 Label with the user's country under her/his enlarged photo. (213265 lines)

View File

@ -1513,6 +1513,7 @@ void Grp_ShowLstGrpsToChgMyGrps (bool ShowWarningsToStudents)
extern const char *Txt_Change_my_groups;
extern const char *Txt_Enroll_in_groups;
extern const char *Txt_No_groups_have_been_created_in_the_course_X;
extern const char *Txt_Create_group;
unsigned NumGrpTyp;
unsigned NumGrpsIBelong = 0;
bool PutFormToChangeGrps = !Gbl.Form.Inside; // Not inside another form (record card)
@ -1565,6 +1566,14 @@ void Grp_ShowLstGrpsToChgMyGrps (bool ShowWarningsToStudents)
sprintf (Gbl.Message,Txt_No_groups_have_been_created_in_the_course_X,
Gbl.CurrentCrs.Crs.FullName);
Lay_ShowAlert (Lay_INFO,Gbl.Message);
/***** Button to create group *****/
if (ICanEdit)
{
Act_FormStart (ActReqEdiGrp);
Lay_PutConfirmButton (Txt_Create_group);
Act_FormEnd ();
}
}
/***** End frame *****/