From 7d938559cb9994211d2917491c503f729d220abb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 19 Jul 2013 18:54:32 -0400 Subject: [PATCH] calendar: Display the popup mouseover when there is only 1 page for a given day, for better UI consistency. --- IkiWiki/Plugin/calendar.pm | 45 ++++++++++++++------------------------ debian/changelog | 7 ++++++ 2 files changed, 24 insertions(+), 28 deletions(-) diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm index 8ca6dd826..682bfb6fb 100644 --- a/IkiWiki/Plugin/calendar.pm +++ b/IkiWiki/Plugin/calendar.pm @@ -223,38 +223,27 @@ EOF $tag='month-calendar-day-link'; } $calendar.=qq{\t\t}; - if (scalar(@{$linkcache{$key}}) == 1) { - # Only one posting on this page - my $page = $linkcache{$key}[0]; + $calendar.=qq{}; $calendar.=qq{\n}; } else { diff --git a/debian/changelog b/debian/changelog index 242460ca3..bc05aa091 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ikiwiki (3.20130712) UNRELEASED; urgency=low + + * calendar: Display the popup mouseover when there is only 1 page for a + given day, for better UI consistency. + + -- Joey Hess Fri, 19 Jul 2013 18:53:23 -0400 + ikiwiki (3.20130711) unstable; urgency=low * Deal with git behavior change in 1.7.2 and newer that broke support -- 2.45.0