Quellcode durchsuchen

Fix references to moved email templates in documentation.

master
Stian Aurdal vor 5 Jahren
Ursprung
Commit
7fd0da8c2f
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4
    4
      docs/source/howto/how_to_customise_oscar_communications.rst

+ 4
- 4
docs/source/howto/how_to_customise_oscar_communications.rst Datei anzeigen

@@ -40,7 +40,7 @@ What's happening here is:
40 40
 So, your first step when customising the emails sent out is to work out what
41 41
 communication type code is being used to send out the email. The easiest way to
42 42
 work this out is usually to look through  the email templates in
43
-:file:`templates/oscar/customer/emails`: if the email template is called, say,
43
+:file:`templates/oscar/communication/emails`: if the email template is called, say,
44 44
 :file:`commtype_order_placed_body.html`, then the code will be ``'ORDER_PLACED'``.
45 45
 See 'Customising through code' below.
46 46
 
@@ -50,11 +50,11 @@ Customising through code
50 50
 Customising emails through code uses Django's standard template inheritance.
51 51
 
52 52
 The first step is to locate the template for the particular email, which is
53
-usually in :file:`templates/oscar/customer/emails`.  Then, in a template directory that
53
+usually in :file:`templates/oscar/communication/emails`.  Then, in a template directory that
54 54
 takes precedence over the oscar templates directory, copy the file and customise
55 55
 it.  For example, to override the
56
-:file:`templates/oscar/customer/emails/commtype_order_placed_body.html` template,
57
-create :file:`customer/emails/commtype_order_placed_body.html` in your
56
+:file:`templates/oscar/communication/emails/commtype_order_placed_body.html` template,
57
+create :file:`oscar/communication/emails/commtype_order_placed_body.html` in your
58 58
 template directory.
59 59
 
60 60
 Note that usually emails have three template files associated with them: the

Laden…
Abbrechen
Speichern