0001-html-tracking-code-search-cells-add-block-for-custom.patch
combo/apps/search/templates/combo/search-cell.html | ||
---|---|---|
4 | 4 |
{% block search-form %} |
5 | 5 |
<form id="combo-search-form-{{ cell.pk }}" class="combo-search-form"> |
6 | 6 |
<input type="search" name="q" autocomplete="off" id="combo-search-input-{{ cell.pk }}" class="combo-search-input" {% if cell.autofocus %}autofocus {% endif %}/> |
7 |
<button class="submit-button">{% trans "Search" %}</button>
|
|
7 |
<button class="submit-button" aria-label="{% trans 'Search' %}">{% block submit-content %}{% trans 'Search' %}{% endblock %}</button>
|
|
8 | 8 |
</form> |
9 | 9 |
{% endblock %} |
10 | 10 |
combo/apps/wcs/templates/combo/wcs/tracking_code_input.html | ||
---|---|---|
24 | 24 |
{% trans "The tracking code could not been found." %} |
25 | 25 |
</div> |
26 | 26 |
<input aria-label="{% trans "Tracking Code" %}" required id="tracking-code" name="code" placeholder="{% trans 'ex: CNPHNTFB' %}"/> |
27 |
<button>{% trans 'Submit' %}</button>
|
|
27 |
<button aria-label="{% trans 'Submit' %}">{% block submit-content %}{% trans 'Submit' %}{% endblock %}</button>
|
|
28 | 28 |
<script> |
29 | 29 |
$(function() { |
30 | 30 |
$('#_cell_url_{{ cell.id }}').val(window.location); |
31 |
- |