Version 18.17.5

This commit is contained in:
Antonio Cañas Vargas 2018-11-15 12:21:48 +01:00
parent e3eae36a28
commit 525ea5353d
2 changed files with 22 additions and 3 deletions

View File

@ -348,10 +348,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.17.4 (2018-11-15)"
#define Log_PLATFORM_VERSION "SWAD 18.17.5 (2018-11-15)"
#define CSS_FILE "swad18.4.css"
#define JS_FILE "swad17.17.1.js"
/*
Version 18.17.5: Nov 15, 2018 Changes in contextual icons related to institutions. (? lines)
Version 18.17.4: Nov 15, 2018 Changes in contextual icons related to places. (236936 lines)
Version 18.17.3: Nov 15, 2018 Changes in contextual icons related to centres. (236934 lines)
Version 18.17.2: Nov 15, 2018 Icon to view centres in box with info about places. (236917 lines)

View File

@ -81,6 +81,7 @@ static void Ins_ListOneInstitutionForSeeing (struct Instit *Ins,unsigned NumIns)
static void Ins_PutHeadInstitutionsForSeeing (bool OrderSelectable);
static void Ins_GetParamInsOrder (void);
static void Ins_PutIconsEditingInstitutions (void);
static void Ins_PutIconToViewInstitutions (void);
static void Ins_GetFullNameAndCtyOfInstitution (struct Instit *Ins,
@ -935,11 +936,14 @@ void Ins_EditInstitutions (void)
/***** Get list of institutions *****/
Ins_GetListInstitutions (Gbl.CurrentCty.Cty.CtyCod,Ins_GET_EXTRA_DATA);
/***** Write menu to select country *****/
Hie_WriteMenuHierarchy ();
/***** Start box *****/
snprintf (Gbl.Title,sizeof (Gbl.Title),
Txt_Institutions_of_COUNTRY_X,
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Box_StartBox (NULL,Gbl.Title,Ins_PutIconToViewInstitutions,
Box_StartBox (NULL,Gbl.Title,Ins_PutIconsEditingInstitutions,
Hlp_COUNTRY_Institutions,Box_NOT_CLOSABLE);
/***** Put a form to create a new institution *****/
@ -957,7 +961,21 @@ void Ins_EditInstitutions (void)
}
/*****************************************************************************/
/************* Put contextual icons in edition of institutions ***************/
/************ Put contextual icons in edition of institutions ****************/
/*****************************************************************************/
static void Ins_PutIconsEditingInstitutions (void)
{
/***** Put icon to view institutions *****/
Ins_PutIconToViewInstitutions ();
/***** Put icon to show a figure *****/
Gbl.Stat.FigureType = Sta_INSTITS;
Sta_PutIconToShowFigure ();
}
/*****************************************************************************/
/*********************** Put icon to view institutions ***********************/
/*****************************************************************************/
static void Ins_PutIconToViewInstitutions (void)