<%! from django.utils.translation import ugettext as _ %>

<%namespace name='static' file='static_content.html'/>

<%inherit file="main.html" />

<section class="container about">
  <nav>
    <a href="/t/about.html">${_("Vision")}</a>
    <a href="/t/faq.html">${_("Faq")}</a>
    <a href="/t/press.html">${_("Press")}</a>
    <a href="/t/contact.html" class="active">${_("Contact")}</a>
  </nav>

  <section class="contact">
    <div class="photo">
      <img src="${static.url('images/contact-page.jpg')}">
    </div>
    <div class="contacts">
      <h2>${_("Class Feedback")}</h2>
      <p>${_("We are always seeking feedback to improve our courses. If you are an enrolled student and have any questions, feedback, suggestions, or any other issues specific to a particular class, please post on the discussion forums of that&nbsp;class.")}</p>

      <h2>${_("General Inquiries and Feedback")}</h2>
      <p>
	${_('If you have a general question about {platform_name} please email '
	'{contact_email}. To see if your question has already been answered, '
	'visit our {faq_link_start}FAQ page{faq_link_end}. You can also join the '
	'discussion on our {fb_link_start}facebook page{fb_link_end}. Though we may '
	'not have a chance to respond to every email, we take all feedback into consideration.').format(
            platform_name=settings.PLATFORM_NAME,
            contact_email=u'<a href="mailto:{email}">{email}</a>'.format(email=settings.CONTACT_EMAIL),
            faq_link_start=u'<a href="{url}">'.format(url=reverse('faq_edx')),
            faq_link_end='</a>',
            fb_link_start='<a href="{url}">'.format(url=settings.PLATFORM_FACEBOOK_ACCOUNT),
            fb_link_end='</a>'
	)}
      </p>

      <h2>${_("Technical Inquiries and Feedback")}</h2>
      <p>
	${_('If you have suggestions/feedback about the overall {platform_name} platform, '
	'or are facing general technical issues with the platform (e.g., issues with email '
	'addresses and passwords), you can reach us at {tech_email}. For technical questions, '
	'please make sure you are using a current version of Firefox or Chrome, and include '
	'browser and version in your e-mail, as well as screenshots or other pertinent details. '
	'If you find a bug or other issues, you can reach us at the following: {bugs_email}.').format(
            tech_email=u'<a href="mailto:{0}">{0}</a>'.format(settings.TECH_SUPPORT_EMAIL),
            bug_email=u'<a href="mailto:{0}">{0}</a>'.format(settings.BUGS_EMAIL),
            platform_name=settings.PLATFORM_NAME
	)}
      </p>

      <h2>${_("Media")}</h2>
      <p>${_('Please visit our {link_start}media/press page{link_end} for more information. For any media or press inquiries, please email {email}.').format(
        link_start=u'<a href="{url}">'.format(url=reverse('faq_edx')),
        link_end='</a>',
        email=u'<a href="mailto:{email}">{email}/a>'.format(email=settings.PRESS_EMAIL),
        )}</p>

      <h2>${_("Universities")}</h2>
      <p>
	${_('If you are a university wishing to collaborate with or if you have questions about {platform_name}, please email {email}.').format(
	    email=u'<a href="mailto:{url}">{url}</a>'.format(url=settings.UNIVERSITY_EMAIL),
    	    platform_name=settings.PLATFORM_NAME
	)}
      </p>
    </div>
  </section>
</section>

