Commits

Luke Plant  committed 3b52491

Added 'booking form request' as option for contact form.

  • Participants
  • Parent commits a7fab9e

Comments (0)

Files changed (2)

File cciw/cciwmain/views/misc.py

 CONTACT_CHOICE_GENERAL = 'general'
 CONTACT_CHOICE_WEBSITE = 'website'
 CONTACT_CHOICE_BOOKINGS = 'bookings'
+CONTACT_CHOICE_BOOKINGFORM = 'bookingform'
 
 CONTACT_CHOICES = [
     (CONTACT_CHOICE_WEBSITE, 'Web site problems'),
+    (CONTACT_CHOICE_BOOKINGFORM, 'Booking form request'),
     (CONTACT_CHOICE_BOOKINGS, 'Bookings'),
     (CONTACT_CHOICE_GENERAL, 'Other'),
 ]
 
 CONTACT_CHOICE_DESTS = {
     CONTACT_CHOICE_GENERAL: ['FEEDBACK_EMAIL'],
+    CONTACT_CHOICE_BOOKINGFORM: ['BOOKING_FORM_EMAIL', 'FEEDBACK_EMAIL'],
     CONTACT_CHOICE_WEBSITE: ['WEBMASTER_EMAIL', 'FEEDBACK_EMAIL'],
     CONTACT_CHOICE_BOOKINGS: ['BOOKING_SECRETARY_EMAIL', 'FEEDBACK_EMAIL'],
 }

File cciw/settings.py

 ESV_BROWSE_URL = "http://www.gnpcb.org/esv/search/"
 FEEDBACK_EMAIL = "feedback@cciw.co.uk"
 BOOKING_SECRETARY_EMAIL = "bookings@cciw.co.uk"
+BOOKING_FORM_EMAIL = "bookingforms@cciw.co.uk"
 BOOKINGFORMDIR = "downloads"
 MEMBERS_PAGINATE_MESSAGES_BY = 20
 WEBMASTER_EMAIL = "webmaster@cciw.co.uk"