diff --git a/css/swad16.147.css b/css/swad16.147.css index 484a30668..3a761f9e1 100644 --- a/css/swad16.147.css +++ b/css/swad16.147.css @@ -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; diff --git a/swad_changelog.h b/swad_changelog.h index d3c879f4f..aa16eaf63 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_timetable.c b/swad_timetable.c index b4a88397d..aa51ad2ba 100644 --- a/swad_timetable.c +++ b/swad_timetable.c @@ -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,""); + fprintf (Gbl.F.Out,"
"); 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,"
%s",Group); } else - { - Str_LimitLengthHTMLStr (GrpDat.GrpTypName,12); - Str_LimitLengthHTMLStr (GrpDat.GrpName,12); fprintf (Gbl.F.Out,"
%s %s", GrpDat.GrpTypName,GrpDat.GrpName); - } if (Place[0]) fprintf (Gbl.F.Out,"
%s",Place); } else // TimeTableView == TT_TUT_SHOW if (Place[0]) fprintf (Gbl.F.Out,"
%s",Place); - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,"
"); } 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", Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].GrpTypName, Gbl.CurrentCrs.Grps.GrpTypes.LstGrpTypes[NumGrpTyp].LstGrps[NumGrp].GrpName);