From fc0b438fbfc9775eeb4af686488cee9459201fe1 Mon Sep 17 00:00:00 2001 From: Michael Prager Date: Tue, 13 Oct 2009 14:32:04 +0200 Subject: [PATCH] fixed alignment for entries with very long description --- Readme.txt | 31 ++++++++++++++++++------------- comingNext/index.html | 8 ++++---- comingNextB/index.html | 8 ++++---- 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/Readme.txt b/Readme.txt index a69b8a5..49ce96f 100644 --- a/Readme.txt +++ b/Readme.txt @@ -2,7 +2,7 @@ ComingNext & Coming Next B for N97 ------------------------------------ This widget was originally created by Dr. Cochambre and was extended by -Oxidative . It will display the next 8 upcoming events +Michael Prager . It will display the next 8 upcoming events on your N97 homescreen. It consists of two seperate widgets, each displaying 4 events. @@ -44,6 +44,10 @@ known limitations: Nokias WRT library: entry.Status sometimes is undefined. - real transparent background: I haven't found a way todo this yet. All the widgets that have transparent background are no WRT widgets. Nokia? +- There is no automatic detection if you're in a timezone that uses daylight + saving time (DST). By default, the widget assumes that you're in a timezone + that has a 1h DST. If this is not the case, please change the + "enableDaylightSaving" setting in comingNext.wgz/comingNext/index.html License: @@ -65,7 +69,7 @@ Changelog: reduction) - calendar app launches and closes much faster - more explicit error messages (post them here if you get one) -1.10 (2009-08-27) by Oxidative +1.10 (2009-08-27) by Michael Prager - Only 4 lines per widget, also use the bigger default font and a bigger font size - added icons to easier distinguish between todos, meetings, birthdays etc @@ -80,7 +84,7 @@ Changelog: - display all todos from within the last year, if they are not marked as "done". The original version will only display todos that have a termination time in the future. -1.11 (2009-08-27) by Oxidative +1.11 (2009-08-27) by Michael Prager - added fix suggested by yves: use InstanceStartTime instead of StartTime if available - use a to align columns instead of loose
boxes @@ -90,21 +94,21 @@ Changelog: - added changelog to keep track of changes more easily - added switch (var panelNum) so the same code can be used for both, "ComingNext" and "ComingNextB" widgets -1.12 (2009-08-28) by Oxidative +1.12 (2009-08-28) by Michael Prager - support for all date formats (YYYY-MM-DD, DD-MM-YYYY, MM-DD-YYYY) - format dates and times as 01.01 instead of 1.1 - output more details to error log if JavaScript logging is enabled in web browser - added variable to enable/disable ToDos in the event list - added variable to define the number months to include in the event list -1.13 (2009-08-28) by Oxidative +1.13 (2009-08-28) by Michael Prager - support for ToDos without dates - support for events without summary - fixed date format parsing for MM-DD-YYYY (finally ;-)) - fixed months beeing off by 1 -1.14 (2009-08-28) by Oxidative +1.14 (2009-08-28) by Michael Prager - support for fake transparent backgrounds. -1.15 (2009-08-30) by Oxidative +1.15 (2009-08-30) by Michael Prager - added separate Readme.txt - use the date format defined by the system (e.g. "31.12" or "12.31") - show a colored "Today" for the current day instead of full date @@ -115,7 +119,7 @@ Changelog: begin of index.html so they are easy to spot. - fixed table alignment for very long event descriptions - comingNext is now licensed under the GPLv3 -1.16 (2009-08-31) by Oxidative +1.16 (2009-08-31) by Michael Prager - applied patch by pcmoore: Fixed a bug where all times are reported as "AM" regardless of the actual event time - applied patch by pcmoore: new option to define which calendar app to @@ -135,21 +139,21 @@ Changelog: - added option to force a specific date format. dateFormat='auto' (default) will use your phone's setting, 'DDMM' will display day first, 'MMDD' will display month first. -1.17 (2009-09-02) by Oxidative +1.17 (2009-09-02) by Michael Prager - fixed anniversaries for today not showing - new option "eventsPerWidget": with this you can define the number of events that will be shown for each widget. - added new CSS class "icon": change this to modify the icon size (very useful if you want to change the number of events) -1.18 (2009-09-04) by Oxidative +1.18 (2009-09-04) by Michael Prager - fixed ToDos being shown although includeTodos=false was set - fixed ToDos being shown twice - show text "No further events within 2 months" if there are no events in the list. This behaviour and the text can be changed in the settings -1.19 (2009-09-04) by Oxidative +1.19 (2009-09-04) by Michael Prager - refixed problems that 1.18 should have solved (todos not showing, entries showing twice) -1.20 (2009-09-05) by Oxidative +1.20 (2009-09-05) by Michael Prager - new project website at http://sourceforge.net/projects/comingnext - fixed memos/anniversaries showing although they have already passed - don't display weekday if date is 'Today' @@ -162,9 +166,10 @@ Changelog: and only the date for events beyond today (showCombinedDateTime) - Add a new feature to disable showing the location of appointments (showLocation) -1.21 (2009-10-11) by Oxidative +1.21 (2009-10-13) by Michael Prager - support daylight saving time (DST). This is based on the modifications from Manfred Hanselmann (thanks for that!) - added option "enableDaylightSaving" to disable DST. In case you are in a timezone that has no DST, you should use this option - some code cleanup (by Paul Moore) + - fixed alignment when calendar entries have very long description diff --git a/comingNext/index.html b/comingNext/index.html index 9ec9f99..59dd6d0 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -552,18 +552,18 @@ function updateData() if (isToday(date) && showTodayAsText) // show weekday if the date string is not text. looks odd otherwise entriesHtml += '
' + dateStr + ' '; else - entriesHtml += '' + weekDay + '' + dateStr + ''; + entriesHtml += '' + weekDay + '' + dateStr + ''; } else if (entry.Type == 'Meeting') { if (showCombinedDateTime) { if (isToday(date)) - entriesHtml += '' + time + ' '; + entriesHtml += '' + time + ' '; else - entriesHtml += '' + weekDay + '' + dateStr + ''; + entriesHtml += '' + weekDay + '' + dateStr + ''; } else { if (isToday(date) && showTodayAsText) entriesHtml += '' + dateStr + ' ' + time + ' '; else - entriesHtml += '' + weekDay + '' + dateStr + '' + time + ''; + entriesHtml += '' + weekDay + '' + dateStr + '' + time + ''; } } } diff --git a/comingNextB/index.html b/comingNextB/index.html index b5631d3..18d334d 100644 --- a/comingNextB/index.html +++ b/comingNextB/index.html @@ -552,18 +552,18 @@ function updateData() if (isToday(date) && showTodayAsText) // show weekday if the date string is not text. looks odd otherwise entriesHtml += '' + dateStr + ' '; else - entriesHtml += '' + weekDay + '' + dateStr + ''; + entriesHtml += '' + weekDay + '' + dateStr + ''; } else if (entry.Type == 'Meeting') { if (showCombinedDateTime) { if (isToday(date)) - entriesHtml += '' + time + ' '; + entriesHtml += '' + time + ' '; else - entriesHtml += '' + weekDay + '' + dateStr + ''; + entriesHtml += '' + weekDay + '' + dateStr + ''; } else { if (isToday(date) && showTodayAsText) entriesHtml += '' + dateStr + ' ' + time + ' '; else - entriesHtml += '' + weekDay + '' + dateStr + '' + time + ''; + entriesHtml += '' + weekDay + '' + dateStr + '' + time + ''; } } } -- 2.39.2