From 85364efb787d12d551db7c3ee5d51cac611aeae9 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Thu, 15 Mar 2012 17:17:17 -0400 Subject: [PATCH] Reworked the summary page to flow through the main header/footer logic. NOTE: you can now declare a div with an id of 'room_banner_override' which, if present, will automatically replace the room banner in your page. --- webcit/event.c | 2 +- webcit/static/t/iconbar.html | 2 +- webcit/static/t/summary/header.html | 50 ---------------------------- webcit/static/t/summary/page.html | 16 +++------ webcit/static/t/summary/trailer.html | 14 -------- webcit/static/t/trailing.html | 7 +++- webcit/summary.c | 13 ++++++++ webcit/tasks.c | 2 +- webcit/webcit.h | 1 + 9 files changed, 28 insertions(+), 79 deletions(-) delete mode 100644 webcit/static/t/summary/header.html delete mode 100644 webcit/static/t/summary/trailer.html diff --git a/webcit/event.c b/webcit/event.c index 756a8a250..8bb658e8c 100644 --- a/webcit/event.c +++ b/webcit/event.c @@ -1213,7 +1213,7 @@ STARTOVER: for (attendee = icalcomponent_get_first_property(vevent, ICAL_ATTENDE /* If this was a save or delete, go back to the calendar or summary view. */ if (!havebstr("check_button")) { if (!strcasecmp(bstr("calview"), "summary")) { - do_template("summary_page"); + display_summary_page(); } else { readloop(readfwd, eUseDefault); diff --git a/webcit/static/t/iconbar.html b/webcit/static/t/iconbar.html index d6e568a3e..0ba06be5c 100644 --- a/webcit/static/t/iconbar.html +++ b/webcit/static/t/iconbar.html @@ -9,7 +9,7 @@