From 89d0dc196304d5afd9a42e5ec70b9ed10bb9ade9 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Tue, 7 May 2013 15:54:34 -0400 Subject: [PATCH] Update "thank you" text in help modal As per request from Mary. --- lms/templates/help_modal.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lms/templates/help_modal.html b/lms/templates/help_modal.html index 83ea00068f..deebd391d2 100644 --- a/lms/templates/help_modal.html +++ b/lms/templates/help_modal.html @@ -1,4 +1,6 @@ <%namespace name='static' file='static_content.html'/> +<%! from datetime import datetime %> +<%! import pytz %> <%! from django.conf import settings %> <%! from courseware.tabs import get_discussion_link %> @@ -79,9 +81,16 @@ discussion_link = get_discussion_link(course) if course else None
+ <% + dst = datetime.now(pytz.utc).astimezone(pytz.timezone("America/New_York")).dst() + business_hours = "13:00 UTC to 21:00 UTC" if dst else "14:00 UTC to 22:00 UTC" + %>

- Thanks for your feedback. We will read your message, and our - support team may contact you to respond or ask for further clarification. + Thank you for your inquiry or feedback. We typically respond to a + request within one business day (Monday to Friday, + ${business_hours}.) In the meantime, please review our + detailed FAQs + where most questions have already been answered.