Version 22.39.4: Oct 03, 2022 Fixed layout issues in projects.

This commit is contained in:
acanas 2022-10-03 22:51:04 +02:00
parent fca4a3ba90
commit 695ab5e9cf
3 changed files with 6 additions and 10 deletions

View File

@ -96,7 +96,7 @@ void BrwRsc_WriteDocFileNameInCrsProgram (long FilCod,bool PutFormToGo,
{
extern const char *Txt_Documents;
extern const char *Txt_Actions[Act_NUM_ACTIONS];
Act_Action_t NextAction;
Act_Action_t NextAction = ActUnk; // Initialized to avoid warning
struct Brw_FileMetadata FileMetadata;
char Title[NAME_MAX + 1]; // File or link name

View File

@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
TODO: Attach pdf files in multimedia.
*/
#define Log_PLATFORM_VERSION "SWAD 22.39.3 (2022-10-03)"
#define Log_PLATFORM_VERSION "SWAD 22.39.4 (2022-10-03)"
#define CSS_FILE "swad22.35.css"
#define JS_FILE "swad21.100.js"
/*
Version 22.39.4: Oct 03, 2022 Fixed layout issues in projects. (332515 lines)
Version 22.39.3: Oct 03, 2022 Code refactoring in attendance events. (332519 lines)
Version 22.39.2: Oct 03, 2022 Changes in dialog to reset an attendance event. (332520 lines)
Version 22.39.1: Oct 03, 2022 Changes in dialog to reset a survey. (332527 lines)

View File

@ -1546,7 +1546,7 @@ static void Prj_ShowProjectRow (struct Prj_Projects *Projects,
break;
case Prj_FILE_BROWSER_PROJECT:
HTM_TR_Begin ("id=\"prj_pro_%u\" style=\"display:none;\"",UniqueId);
HTM_TD_Begin ("colspan=\"3\" class=\"RT %s_%s\"",
HTM_TD_Begin ("colspan=\"2\" class=\"RT %s_%s\"",
ClassLabel,The_GetSuffix ());
break;
default:
@ -1894,7 +1894,7 @@ static void Prj_ShowOneProjectTxtField (struct Prj_Project *Prj,
break;
case Prj_FILE_BROWSER_PROJECT:
HTM_TR_Begin ("id=\"%s%u\" style=\"display:none;\"",id,UniqueId);
HTM_TD_Begin ("colspan=\"3\" class=\"RT %s_%s\"",
HTM_TD_Begin ("colspan=\"2\" class=\"RT %s_%s\"",
ClassLabel,The_GetSuffix ());
break;
case Prj_PRINT_ONE_PROJECT:
@ -1994,7 +1994,7 @@ static void Prj_ShowOneProjectURL (const struct Prj_Project *Prj,
break;
case Prj_FILE_BROWSER_PROJECT:
HTM_TR_Begin ("id=\"%s%u\" style=\"display:none;\"",id,UniqueId);
HTM_TD_Begin ("colspan=\"3\" class=\"RT %s_%s\"",
HTM_TD_Begin ("colspan=\"2\" class=\"RT %s_%s\"",
ClassLabel,The_GetSuffix ());
break;
case Prj_PRINT_ONE_PROJECT:
@ -2128,11 +2128,6 @@ static void Prj_ShowOneProjectMembersWithARole (struct Prj_Projects *Projects,
Txt_PROJECT_ROLES_PLURAL_Abc[RoleInPrj]);
break;
case Prj_FILE_BROWSER_PROJECT:
HTM_TD_Begin ("colspan=\"3\" class=\"RT %s_%s\"",
ClassLabel,The_GetSuffix ());
HTM_TxtColon (NumUsrs == 1 ? Txt_PROJECT_ROLES_SINGUL_Abc[RoleInPrj] :
Txt_PROJECT_ROLES_PLURAL_Abc[RoleInPrj]);
break;
case Prj_PRINT_ONE_PROJECT:
HTM_TD_Begin ("colspan=\"2\" class=\"RT %s_%s\"",
ClassLabel,The_GetSuffix ());