Version 16.147.8

This commit is contained in:
Antonio Cañas Vargas 2017-03-05 19:15:57 +01:00
parent db1e8bbb52
commit 926c60fed0
3 changed files with 11 additions and 9 deletions

View File

@ -2290,6 +2290,13 @@ a:hover img.CENTRE_PHOTO_SHOW
width:100%;
margin:0 auto;
}
.TT_CELL
{
max-width:50px;
overflow:hidden;
text-overflow:ellipsis;
margin:0 auto;
}
.TT_TXT
{
font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif;

View File

@ -197,13 +197,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.147.7 (2017-03-04)"
#define Log_PLATFORM_VERSION "SWAD 16.147.8 (2017-03-04)"
#define CSS_FILE "swad16.147.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.147.8: Mar 05, 2017 Changes in layout of timetable. (216374 lines)
Version 16.147.7: Mar 05, 2017 Changes in layout of social timeline. (216372 lines)
Version 16.147.6: Mar 05, 2017 Changes in layout of record card. (216370 lines)
Version 16.147.5: Mar 05, 2017 Changes in layout of record card. (216346 lines)

View File

@ -1204,7 +1204,7 @@ static void TT_TimeTableDrawCell (unsigned Day,unsigned Hour,unsigned Column,uns
case TT_TUT_SHOW:
if (HourType != TT_FREE_HOUR) // If cell is not empty...
{
fprintf (Gbl.F.Out,"<span class=\"TT_TXT\">");
fprintf (Gbl.F.Out,"<div class=\"TT_CELL TT_TXT\">");
if (Gbl.TimeTable.Type == TT_MY_TIMETABLE)
{
Crs.CrsCod = CrsCod;
@ -1228,19 +1228,15 @@ static void TT_TimeTableDrawCell (unsigned Day,unsigned Hour,unsigned Column,uns
fprintf (Gbl.F.Out,"<br />%s",Group);
}
else
{
Str_LimitLengthHTMLStr (GrpDat.GrpTypName,12);
Str_LimitLengthHTMLStr (GrpDat.GrpName,12);
fprintf (Gbl.F.Out,"<br />%s %s",
GrpDat.GrpTypName,GrpDat.GrpName);
}
if (Place[0])
fprintf (Gbl.F.Out,"<br />%s",Place);
}
else // TimeTableView == TT_TUT_SHOW
if (Place[0])
fprintf (Gbl.F.Out,"<br />%s",Place);
fprintf (Gbl.F.Out,"</span>");
fprintf (Gbl.F.Out,"</div>");
}
break;
case TT_CRS_EDIT:
@ -1338,8 +1334,6 @@ static void TT_TimeTableDrawCell (unsigned Day,unsigned Hour,unsigned Column,uns
Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].LstGrps[NumGrp].GrpCod);
if (GrpCod == Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].LstGrps[NumGrp].GrpCod)
fprintf (Gbl.F.Out," selected=\"selected\"");
Str_LimitLengthHTMLStr (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypName,8);
Str_LimitLengthHTMLStr (Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].LstGrps[NumGrp].GrpName,8);
fprintf (Gbl.F.Out,">%s %s</option>",
Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypName,
Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].LstGrps[NumGrp].GrpName);