From 689227fa4430ab71e3089fad61bd91bfcad9e652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Wed, 20 Mar 2019 02:18:30 +0100 Subject: [PATCH] Version18.83 --- css/{swad18.80.css => swad18.83.css} | 17 +++++++++++++++++ swad_changelog.h | 8 ++++---- swad_timeline.c | 21 +++++++++++---------- 3 files changed, 32 insertions(+), 14 deletions(-) rename css/{swad18.80.css => swad18.83.css} (99%) diff --git a/css/swad18.80.css b/css/swad18.83.css similarity index 99% rename from css/swad18.80.css rename to css/swad18.83.css index b173092d5..c3661596f 100644 --- a/css/swad18.80.css +++ b/css/swad18.83.css @@ -3054,12 +3054,29 @@ a:hover img.CENTRE_PHOTO_SHOW { padding-bottom:10px; } +.TL_FORM + { + padding-top:8px; + overflow:hidden; + text-overflow:ellipsis; + } +.TL_FORM_OFF, +.TL_LOC + { + padding-top:8px; + color:#808080; + font-size:13pt; + overflow:hidden; + text-overflow:ellipsis; + } .TL_TXT { padding:5px 0; color:#202020; font-size:13pt; line-height:1.4; + overflow:hidden; + text-overflow:ellipsis; } .TL_EXPAND_COMMENTS { diff --git a/swad_changelog.h b/swad_changelog.h index b4471dea4..957f725a8 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -459,13 +459,13 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.83 (2019-03-19)" -#define CSS_FILE "swad18.80.css" +#define Log_PLATFORM_VERSION "SWAD 18.83 (2019-03-20)" +#define CSS_FILE "swad18.83.css" #define JS_FILE "swad18.80.js" /* - Version 18.83: Mar 19, 2019 Important optimization on removing of temporary files to increase speed. + Version 18.83: Mar 20, 2019 Important optimization on removing of temporary files to increase speed. Code refactoring related to paths and URL. - Fixing in CSS to hide overflow in timeline. (240536 lines) + Fixing in CSS to hide overflow in timeline. (240554 lines) Version 18.82: Mar 19, 2019 User preferences are retrieved from database only when they are needed. (240630 lines) Version 18.81.5: Mar 19, 2019 Code refactoring related to media. (240594 lines) Version 18.81.4: Mar 19, 2019 Code refactoring related to media. (240586 lines) diff --git a/swad_timeline.c b/swad_timeline.c index 73b2c20af..606759275 100644 --- a/swad_timeline.c +++ b/swad_timeline.c @@ -1564,19 +1564,19 @@ static void TL_WriteNote (const struct TL_Note *SocNot, case TL_NOTE_INS_DOC_PUB_FILE: case TL_NOTE_INS_SHA_PUB_FILE: /* Write location (institution) in hierarchy */ - fprintf (Gbl.F.Out,"
%s: %s
", + fprintf (Gbl.F.Out,"
%s: %s
", Txt_Institution,Ins.ShrtName); break; case TL_NOTE_CTR_DOC_PUB_FILE: case TL_NOTE_CTR_SHA_PUB_FILE: /* Write location (centre) in hierarchy */ - fprintf (Gbl.F.Out,"
%s: %s
", + fprintf (Gbl.F.Out,"
%s: %s
", Txt_Centre,Ctr.ShrtName); break; case TL_NOTE_DEG_DOC_PUB_FILE: case TL_NOTE_DEG_SHA_PUB_FILE: /* Write location (degree) in hierarchy */ - fprintf (Gbl.F.Out,"
%s: %s
", + fprintf (Gbl.F.Out,"
%s: %s
", Txt_Degree,Deg.ShrtName); break; case TL_NOTE_CRS_DOC_PUB_FILE: @@ -1584,12 +1584,12 @@ static void TL_WriteNote (const struct TL_Note *SocNot, case TL_NOTE_EXAM_ANNOUNCEMENT: case TL_NOTE_NOTICE: /* Write location (course) in hierarchy */ - fprintf (Gbl.F.Out,"
%s: %s
", + fprintf (Gbl.F.Out,"
%s: %s
", Txt_Course,Crs.ShrtName); break; case TL_NOTE_FORUM_POST: /* Write forum name */ - fprintf (Gbl.F.Out,"
%s: %s
", + fprintf (Gbl.F.Out,"
%s: %s
", Txt_Forum,ForumName); break; default: @@ -1598,7 +1598,7 @@ static void TL_WriteNote (const struct TL_Note *SocNot, /* Write note summary */ TL_GetNoteSummary (SocNot,SummaryStr); - fprintf (Gbl.F.Out,"
%s
",SummaryStr); + fprintf (Gbl.F.Out,"
%s
",SummaryStr); } /* End of right part */ @@ -1875,7 +1875,7 @@ static void TL_GetAndWritePost (long PstCod) static void TL_PutFormGoToAction (const struct TL_Note *SocNot) { extern const Act_Action_t For_ActionsSeeFor[For_NUM_TYPES_FORUM]; - extern const char *The_ClassFormOutBoxBold[The_NUM_THEMES]; + extern const char *The_ClassFormInBoxBold[The_NUM_THEMES]; extern const char *Txt_TIMELINE_NOTE[TL_NUM_NOTE_TYPES]; extern const char *Txt_not_available; char Class[64]; @@ -1958,7 +1958,8 @@ static void TL_PutFormGoToAction (const struct TL_Note *SocNot) Gbl.Form.Inside) // Inside another form { /***** Do not put form *****/ - fprintf (Gbl.F.Out,"
%s", + fprintf (Gbl.F.Out,"
" + "%s", Txt_TIMELINE_NOTE[SocNot->NoteType]); if (SocNot->Unavailable) fprintf (Gbl.F.Out," (%s)",Txt_not_available); @@ -1966,7 +1967,7 @@ static void TL_PutFormGoToAction (const struct TL_Note *SocNot) } else // Not inside another form { - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); /***** Parameters depending on the type of note *****/ switch (SocNot->NoteType) @@ -2032,7 +2033,7 @@ static void TL_PutFormGoToAction (const struct TL_Note *SocNot) /***** Link and end form *****/ snprintf (Class,sizeof (Class), "%s ICO_HIGHLIGHT", - The_ClassFormOutBoxBold[Gbl.Prefs.Theme]); + The_ClassFormInBoxBold[Gbl.Prefs.Theme]); Frm_LinkFormSubmitUnique (Txt_TIMELINE_NOTE[SocNot->NoteType],Class); fprintf (Gbl.F.Out,"