Version 22.107.17:May 09, 2023 Changes in edition of buildings.

This commit is contained in:
acanas 2023-05-09 08:34:14 +02:00
parent 9337ab68f1
commit 41a82f1b40
5 changed files with 67 additions and 81 deletions

View File

@ -3068,6 +3068,7 @@ table.CELLS_PAD_10 > tbody > tr > td {padding:10px;}
fieldset
{
margin:2px 0;
padding:2px;
border-style:solid;
border-width:1px;
border-radius:2px;

View File

@ -670,62 +670,69 @@ void Bld_ContEditAfterChgBuilding (void)
static void Bld_PutFormToCreateBuilding (void)
{
extern const char *Txt_Create_building;
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Create;
/***** Begin form *****/
Frm_BeginForm (ActNewBld);
/***** Begin fieldset *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[ActNewBld]);
/***** Begin box and table *****/
Box_BoxTableBegin (NULL,NULL,
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Begin form *****/
Frm_BeginForm (ActNewBld);
/***** Write heading *****/
Bld_PutHeadBuildings ();
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
HTM_TR_Begin (NULL);
/***** Write heading *****/
Bld_PutHeadBuildings ();
/***** Column to remove building, disabled here *****/
HTM_TD_Begin ("class=\"BM\"");
HTM_TD_End ();
HTM_TR_Begin (NULL);
/***** Building code *****/
HTM_TD_Begin ("class=\"CODE\"");
HTM_TD_End ();
/***** Column to remove building, disabled here *****/
HTM_TD_Begin ("class=\"BM\"");
HTM_TD_End ();
/***** Building short name *****/
HTM_TD_Begin ("class=\"LM\"");
HTM_INPUT_TEXT ("ShortName",Bld_MAX_CHARS_SHRT_NAME,Bld_EditingBuilding->ShrtName,
HTM_DONT_SUBMIT_ON_CHANGE,
"size=\"10\" class=\"INPUT_SHORT_NAME INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
/***** Building code *****/
HTM_TD_Begin ("class=\"CODE\"");
HTM_TD_End ();
/***** Building full name *****/
HTM_TD_Begin ("class=\"LM\"");
HTM_INPUT_TEXT ("FullName",Bld_MAX_CHARS_FULL_NAME,Bld_EditingBuilding->FullName,
HTM_DONT_SUBMIT_ON_CHANGE,
"size=\"20\" class=\"INPUT_FULL_NAME INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
/***** Building short name *****/
HTM_TD_Begin ("class=\"LM\"");
HTM_INPUT_TEXT ("ShortName",Bld_MAX_CHARS_SHRT_NAME,Bld_EditingBuilding->ShrtName,
HTM_DONT_SUBMIT_ON_CHANGE,
"size=\"10\" class=\"INPUT_SHORT_NAME INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
/***** Building location *****/
HTM_TD_Begin ("class=\"LM\"");
HTM_INPUT_TEXT ("Location",Bld_MAX_CHARS_LOCATION,Bld_EditingBuilding->Location,
HTM_DONT_SUBMIT_ON_CHANGE,
"size=\"15\" class=\"INPUT_FULL_NAME INPUT_%s\"",
The_GetSuffix ());
HTM_TD_End ();
/***** Building full name *****/
HTM_TD_Begin ("class=\"LM\"");
HTM_INPUT_TEXT ("FullName",Bld_MAX_CHARS_FULL_NAME,Bld_EditingBuilding->FullName,
HTM_DONT_SUBMIT_ON_CHANGE,
"size=\"20\" class=\"INPUT_FULL_NAME INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
HTM_TR_End ();
/***** Building location *****/
HTM_TD_Begin ("class=\"LM\"");
HTM_INPUT_TEXT ("Location",Bld_MAX_CHARS_LOCATION,Bld_EditingBuilding->Location,
HTM_DONT_SUBMIT_ON_CHANGE,
"size=\"15\" class=\"INPUT_FULL_NAME INPUT_%s\"",
The_GetSuffix ());
HTM_TD_End ();
/***** End table, send button and end box *****/
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_building);
HTM_TR_End ();
/***** End form *****/
Frm_EndForm ();
/***** End table and send button *****/
HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/
Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
}
/*****************************************************************************/

View File

@ -629,12 +629,13 @@ 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.107.15 (2023-05-07)"
#define CSS_FILE "swad22.107.css"
#define Log_PLATFORM_VERSION "SWAD 22.107.17 (2023-05-09)"
#define CSS_FILE "swad22.107.17.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.107.16:May 07, 2023 Changes in edition of banners. (337915 lines)
Version 22.107.15:May 07, 2023 Changes in edition of assignments. (337915 lines)
Version 22.107.17:May 09, 2023 Changes in edition of buildings. (337884 lines)
Version 22.107.16:May 08, 2023 Changes in edition of banners. (337899 lines)
Version 22.107.15:May 08, 2023 Changes in edition of assignments. (337915 lines)
Version 22.107.14:May 07, 2023 Changes in edition of announcements. (337936 lines)
Version 22.107.13:May 07, 2023 Changes in edition of exam sessions. (337957 lines)
Version 22.107.12:May 07, 2023 Changes in edition of rubrics. (337930 lines)

View File

@ -6618,29 +6618,6 @@ const char *Txt_Create_another_type_of_degree =
"Create another type of degree"; // Çeviri lazim!
#endif
const char *Txt_Create_building =
#if L==1 // ca
"Crear edifici";
#elif L==2 // de
"Gebäude eingeben";
#elif L==3 // en
"Create building";
#elif L==4 // es
"Crear edificio";
#elif L==5 // fr
"Créer bâtiment";
#elif L==6 // gn
"Crear edificio"; // Okoteve traducción
#elif L==7 // it
"Crea edificio";
#elif L==8 // pl
"Utwórz budynek";
#elif L==9 // pt
"Criar edifício";
#elif L==10 // tr
"Create building"; // Çeviri lazim!
#endif
const char *Txt_Create_center =
#if L==1 // ca
"Crear center";

View File

@ -4641,25 +4641,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
,
[ActNewBld] =
#if L==1 // ca
"Request creation of a building" // Necessita traducció
"Crear edifici"
#elif L==2 // de
"Request creation of a building" // Need Übersetzung
"Gebäude eingeben"
#elif L==3 // en
"Request creation of a building"
"Create building"
#elif L==4 // es
"Solicitar creación de edificio"
"Crear edificio"
#elif L==5 // fr
"Request creation of a building" // Besoin de traduction
"Créer bâtiment"
#elif L==6 // gn
"Solicitar creación de edificio" // Okoteve traducción
"Crear edificio" // Okoteve traducción
#elif L==7 // it
"Request creation of a building" // Bisogno di traduzione
"Crea edificio"
#elif L==8 // pl
"Request creation of a building" // Potrzebujesz tlumaczenie
"Utwórz budynek"
#elif L==9 // pt
"Request creation of a building" // Precisa de tradução
"Criar edifício"
#elif L==10 // tr
"Request creation of a building" // Çeviri lazim!
"Create building" // Çeviri lazim!
#endif
,
[ActRemBld] =