Translate the whole site to English: English routes with 301 redirects from the Dutch paths, English UI, docs, seeds and captions, one-time live content migration
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
<!-- retoor <retoor@molodetz.nl> -->
|
||||
{% extends "admin/base_admin.html" %}
|
||||
{% block admin_content %}
|
||||
<h1>Statistieken</h1>
|
||||
<h1>Statistics</h1>
|
||||
<div class="tabs" role="tablist" data-tabs>
|
||||
<button type="button" class="active" data-tab="paths">Paden</button>
|
||||
<button type="button" data-tab="days">Per dag</button>
|
||||
<button type="button" class="active" data-tab="paths">Paths</button>
|
||||
<button type="button" data-tab="days">Per day</button>
|
||||
</div>
|
||||
<section data-panel="paths">
|
||||
<table class="admin-table"><thead><tr><th>Pad</th><th>Hits</th></tr></thead><tbody>
|
||||
{% for row in top_paths %}<tr><td>{{ row.path }}</td><td>{{ row.hits }}</td></tr>{% else %}<tr><td colspan="2" class="muted">Nog geen data.</td></tr>{% endfor %}
|
||||
<table class="admin-table"><thead><tr><th>Path</th><th>Hits</th></tr></thead><tbody>
|
||||
{% for row in top_paths %}<tr><td>{{ row.path }}</td><td>{{ row.hits }}</td></tr>{% else %}<tr><td colspan="2" class="muted">No data yet.</td></tr>{% endfor %}
|
||||
</tbody></table>
|
||||
</section>
|
||||
<section data-panel="days" hidden>
|
||||
<table class="admin-table"><thead><tr><th>Dag</th><th>Hits</th></tr></thead><tbody>
|
||||
{% for row in daily %}<tr><td>{{ format_date(row.day) }}</td><td>{{ row.hits }}</td></tr>{% else %}<tr><td colspan="2" class="muted">Nog geen data.</td></tr>{% endfor %}
|
||||
<table class="admin-table"><thead><tr><th>Day</th><th>Hits</th></tr></thead><tbody>
|
||||
{% for row in daily %}<tr><td>{{ format_date(row.day) }}</td><td>{{ row.hits }}</td></tr>{% else %}<tr><td colspan="2" class="muted">No data yet.</td></tr>{% endfor %}
|
||||
</tbody></table>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user