From: Art Cancro Date: Tue, 20 Mar 2012 00:16:23 +0000 (-0400) Subject: Remove the initial display of Messages, Tasks, and Calendar in the summary view,... X-Git-Tag: v8.11~127^2~11 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=d047c4637b90e7ccc2085465f5024ea98432153f;p=citadel.git Remove the initial display of Messages, Tasks, and Calendar in the summary view, since PeriodicalUpdater is going to immediately refresh them anyway. Display throbbers in the empty boxes, which will conveniently display themselves if one section (such as the calendar) is taking a long time to load. --- diff --git a/webcit/static/t/summary/page.html b/webcit/static/t/summary/page.html index ad56f39b0..afe80323d 100644 --- a/webcit/static/t/summary/page.html +++ b/webcit/static/t/summary/page.html @@ -21,7 +21,7 @@
- +
@@ -30,7 +30,7 @@
- +
@@ -39,7 +39,7 @@
- +
@@ -73,12 +73,8 @@ diff --git a/webcit/summary.c b/webcit/summary.c index 332971ff4..904f1db26 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -214,9 +214,6 @@ InitModule_SUMMARY (void) { RegisterNamespace("TIME:NOW", 0, 0, tmplput_output_date, NULL, CTX_NONE); - RegisterNamespace("SUMMARY:NEWMESSAGES_SELECTION", 0, 0, tmplput_new_messages_section, NULL, CTX_NONE); - RegisterNamespace("SUMMARY:TASKSSECTION", 0, 0, tmplput_tasks_section, NULL, CTX_NONE); - RegisterNamespace("SUMMARY:CALENDAR_SECTION", 0, 0, tmplput_calendar_section, NULL, CTX_NONE); WebcitAddUrlHandler(HKEY("summary"), "", 0, display_summary_page, ANONYMOUS); WebcitAddUrlHandler(HKEY("new_messages_html"), "", 0, new_messages_section, AJAX);