Luke Plant avatar Luke Plant committed ed73f80

Changed user-visible 'place details' link to less confusing 'camper details'

Comments (0)

Files changed (3)

cciw/bookings/templatetags/bookings.py

          reverse('cciw.bookings.views.account_details'),
          msg_need_login),
 
-        ('place', u'Place details', logged_in and has_account_details,
+        ('place', u'Camper details', logged_in and has_account_details,
          reverse('cciw.bookings.views.add_place'),
          msg_need_account_details),
 

cciw/bookings/urls.py

              (r'^v/failed/$', 'verify_email_failed'),
              (r'^account/$', 'account_details'),
              (r'^loggedout/$', 'not_logged_in'),
-             (r'^add-place/$', 'add_place'),
-             (r'^edit-place/(?P<id>\d+)/$', 'edit_place'),
+             (r'^add-camper-details/$', 'add_place'),
+             (r'^edit-camper-details/(?P<id>\d+)/$', 'edit_place'),
              (r'^places-json/$', 'places_json'),
              (r'^account-json/$', 'account_json'),
              (r'^all-account-json/$', 'all_account_json'),

cciw/bookings/views.py

 
 class BookingAddPlace(BookingEditAddBase, BaseCreateView):
     __metaclass__ = AjaxMroFixer
-    metadata_title = u"Booking - add new place"
+    metadata_title = u"Booking - add new camper details"
     form_class = AddPlaceForm
 
 
 class BookingEditPlace(BookingEditAddBase, BaseUpdateView):
     __metaclass__ = AjaxMroFixer
-    metadata_title = u"Booking - edit place"
+    metadata_title = u"Booking - edit camper details"
     form_class = AddPlaceForm
 
     def post(self, request, *args, **kwargs):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.