Version 22.101.11:Apr 21, 2023 Changes in edition of centers and places.

This commit is contained in:
acanas 2023-04-21 08:38:06 +02:00
parent c7d955bf00
commit 27ea34c3b2
5 changed files with 4 additions and 23 deletions

View File

@ -293,9 +293,6 @@ static void Ctr_PutIconsListingCenters (__attribute__((unused)) void *Args)
if (Hie_CheckIfICanEdit ())
Ctr_PutIconToEditCenters ();
/***** Put icon to view places *****/
Plc_PutIconToViewPlaces ();
/***** Put icon to show a figure *****/
Fig_PutIconToShowFigure (Fig_HIERARCHY);
}
@ -475,20 +472,10 @@ static void Ctr_PutIconsEditingCenters (__attribute__((unused)) void *Args)
Ico_PutContextualIconToView (ActSeeCtr,NULL,
NULL,NULL);
/***** Put icon to view places *****/
Plc_PutIconToViewPlaces ();
/***** Put icon to show a figure *****/
Fig_PutIconToShowFigure (Fig_HIERARCHY);
}
void Ctr_PutIconToViewCenters (void)
{
Lay_PutContextualLinkOnlyIcon (ActSeeCtr,NULL,
NULL,NULL,
"building.svg",Ico_BLACK);
}
/*****************************************************************************/
/************ Get basic list of centers ordered by name of center ************/
/*****************************************************************************/

View File

@ -86,8 +86,6 @@ void Ctr_DrawCenterLogoAndNameWithLink (struct Ctr_Center *Ctr,Act_Action_t Acti
void Ctr_ShowCtrsOfCurrentIns (void);
void Ctr_EditCenters (void);
void Ctr_PutIconToViewCenters (void);
void Ctr_GetBasicListOfCenters (long InsCod);
void Ctr_GetFullListOfCenters (long InsCod,Ctr_Order_t SelectedOrder);
bool Ctr_GetCenterDataByCod (struct Ctr_Center *Ctr);

View File

@ -629,10 +629,11 @@ TODO: Emilce Barrera Mesa: Podr
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
*/
#define Log_PLATFORM_VERSION "SWAD 22.101.10 (2023-04-21)"
#define Log_PLATFORM_VERSION "SWAD 22.101.11 (2023-04-21)"
#define CSS_FILE "swad22.95.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.101.11:Apr 21, 2023 Changes in edition of centers and places. (337289 lines)
Version 22.101.10:Apr 21, 2023 Changes in course information. (337302 lines)
Version 22.101.9: Apr 21, 2023 Changes in edition of countries, links, banners, institutions, centers, places, degrees, degree types, buildings, rooms and courses. (337313 lines)
Version 22.101.8: Apr 20, 2023 Changes in edition of rubrics, degree types and departments. (337350 lines)

View File

@ -252,9 +252,6 @@ static void Plc_PutIconsListingPlaces (__attribute__((unused)) void *Args)
/***** Put icon to edit places *****/
if (Plc_ICanEditPlaces[Gbl.Usrs.Me.Role.Logged])
Plc_PutIconToEditPlaces ();
/***** Put icon to view centers *****/
Ctr_PutIconToViewCenters ();
}
/*****************************************************************************/
@ -323,9 +320,6 @@ static void Plc_PutIconsEditingPlaces (__attribute__((unused)) void *Args)
/***** Put icon to view places *****/
Ico_PutContextualIconToView (ActSeePlc,NULL,
NULL,NULL);
/***** Put icon to view centers *****/
Ctr_PutIconToViewCenters ();
}
/*****************************************************************************/

View File

@ -349,7 +349,8 @@ void Tmt_ShowClassTimeTable (void)
Gbl.Usrs.Me.Role.Logged >= Rol_TCH);
Timetable.ContextualIcons.PutIconEditOfficeHours = (Timetable.Type == Tmt_MY_TIMETABLE &&
!PrintView &&
(Gbl.Usrs.Me.Role.Available & (1 << Rol_TCH)));
(Gbl.Usrs.Me.Role.Available & (1 << Rol_TCH |
1 << Rol_NET)));
Timetable.ContextualIcons.PutIconPrint = !PrintView;
/***** Get whether to show only my groups or all groups *****/