Configure PayPal integration and cart checkout error display
This commit is contained in:
1 parent
62065828e1
commit
cf07fc5d9b
98 files changed
+1430
-281
No files matched your search
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<section class="traffic-panel" aria-labelledby="traffic-map-heading">
|
||||
<h2 id="traffic-map-heading">Where readers are</h2>
|
||||
{% if not geo_configured %}<p>Connect a GeoLite Country database to locate new visits by country. Earlier and unresolved visits appear as Unknown.</p>{% endif %}
|
||||
{% if not geo_configured %}<p>Connect a GeoLite2 City database to locate new visits by country. Earlier and unresolved visits appear as Unknown.</p>{% endif %}
|
||||
<div data-world-map data-map-url="{% static 'world-countries.json' %}"></div>
|
||||
<p data-map-status aria-live="polite">Select a highlighted country to see its pageviews.</p>
|
||||
{{ countries|json_script:"country-traffic" }}
|
||||
@@ -24,6 +24,34 @@
|
||||
</tbody></table><small>Map boundaries: Natural Earth. Location is approximate.</small>
|
||||
</section>
|
||||
<div class="traffic-grid">
|
||||
<section class="traffic-panel">
|
||||
<h2>Regions and states</h2>
|
||||
<table class="traffic-table">
|
||||
<thead><tr><th scope="col">Country</th><th scope="col">Region / State</th><th scope="col">Views</th></tr></thead>
|
||||
<tbody>
|
||||
{% for row in regions %}
|
||||
<tr><td>{{ row.country|default:'Unknown' }}</td><td>{{ row.region|default:'Unknown' }}</td><td>{{ row.views }}</td></tr>
|
||||
{% empty %}
|
||||
<tr><td colspan="3">No region data available yet.</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
<section class="traffic-panel">
|
||||
<h2>Cities</h2>
|
||||
<table class="traffic-table">
|
||||
<thead><tr><th scope="col">City</th><th scope="col">Region</th><th scope="col">Country</th><th scope="col">Views</th></tr></thead>
|
||||
<tbody>
|
||||
{% for row in cities %}
|
||||
<tr><td>{{ row.city|default:'Unknown' }}</td><td>{{ row.region|default:'Unknown' }}</td><td>{{ row.country|default:'Unknown' }}</td><td>{{ row.views }}</td></tr>
|
||||
{% empty %}
|
||||
<tr><td colspan="4">No city data available yet.</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
</div>
|
||||
<div class="traffic-grid">
|
||||
<section class="traffic-panel"><h2>Traffic sources</h2><p>Referring origins only. Direct visits and missing referrers are grouped together.</p>
|
||||
<table class="traffic-table"><thead><tr><th scope="col">Source</th><th scope="col">Views</th></tr></thead><tbody>
|
||||
{% for row in sources %}<tr><td>{% if row.source == 'internal' %}SLX site{% elif row.source %}<a href="{{ row.source }}" rel="noreferrer noopener" target="_blank">{{ row.source }}</a>{% else %}Direct / unavailable{% endif %}</td><td>{{ row.views }}</td></tr>{% empty %}<tr><td colspan="2">No sources in this range yet.</td></tr>{% endfor %}
|
||||
|
||||
Reference in new issue
Block a user