Commit 0a27a167 by Cliff Dyer Committed by GitHub

Merge pull request #14018 from edx/cdyer/date-help-modal

Simplify business hours on help modal
parents 422f09d6 ea781266
......@@ -121,24 +121,13 @@ from xmodule.tabs import CourseTabList
<hr>
</header>
<%
dst = datetime.now(pytz.utc).astimezone(pytz.timezone("America/New_York")).dst()
if dst:
open_time = "13:00"
close_time = "21:00"
else:
open_time = "14:00"
close_time = "22:00"
%>
<p>
${Text(_(
'Thank you for your inquiry or feedback. We typically respond to a request '
'within one business day (Monday to Friday, {open_time} UTC to {close_time} UTC.) In the meantime, please '
'within one business day, Monday to Friday. In the meantime, please '
'review our {link_start}detailed FAQs{link_end} where most questions have '
'already been answered.'
)).format(
open_time=open_time,
close_time=close_time,
link_start=HTML('<a href="{}" target="_blank" id="success-feedback-faq-link">').format(marketing_link('FAQ')),
link_end=HTML('</a>')
)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment