Projet

Général

Profil

0001-wcs-add-template-blocks-for-text-parts-of-tracking-c.patch

Frédéric Péters, 27 août 2019 22:28

Télécharger (1,42 ko)

Voir les différences:

Subject: [PATCH] wcs: add template blocks for text parts of tracking code cell
 (#35623)

 combo/apps/wcs/templates/combo/wcs/tracking_code_input.html | 4 ++++
 1 file changed, 4 insertions(+)
combo/apps/wcs/templates/combo/wcs/tracking_code_input.html
1 1
{% load i18n %}
2 2
{% block cell-content %}
3 3
<div class="wcs-tracking-code-input">
4
 {% block title %}
4 5
 <h2>{% trans 'Tracking Code' %}</h2>
6
 {% endblock %}
5 7
 <form data-wcs-url="{{ url }}" method="post" action="{{ site_base }}{% url 'wcs-tracking-code' %}">
8
  {% block intro-text %}
6 9
  <p>
7 10
    {% blocktrans %}
8 11
    A tracking code is attached to all your forms, it is there to help you in
......
10 13
    a tracking code, you can enter the code in the entry below:
11 14
    {% endblocktrans %}
12 15
  </p>
16
  {% endblock %}
13 17
  <input id="_cell_url_{{ cell.id }}" name="url" value="" type="hidden"/>
14 18
  <input name="cell" value="{{ cell.id }}" type="hidden"/>
15 19
  <div id="_cell_error_{{ cell.id }}" class="errornotice" style="display: none">
16
-