forked from expo/troggle
Fix scanned walletindex pages
This commit is contained in:
@@ -53,6 +53,8 @@
|
||||
<a href="/expofiles/surveyscans/{{year}}/{{wallet|urlencode}}/walletindex.html">Wallet status page</a>
|
||||
<br />
|
||||
<a href="/expofiles/surveyscans/{{year}}/walletindex.html">Wallet index for this year</a>
|
||||
<br />
|
||||
<a href="/expedition/{{year}}">Logbook entries, Survex files for this year</a>
|
||||
</em>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
<!-- wallet_old.html - this text visible because this template has been included -->
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Survey Scans Wallet {% endblock %}
|
||||
{% block content %}
|
||||
|
||||
29
templates/walletindex.html
Normal file
29
templates/walletindex.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!-- walletindex.html - this text visible because this template has been included -->
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Wallet Scanned Index Pages{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h3>Wallet Index Scanned Pages: {{wallet.walletname|slice:'0:4'}}</h3>
|
||||
|
||||
<table>
|
||||
{% for singlescan in wallet.singlescan_set.all %}
|
||||
<tr>
|
||||
<td class="singlescan"><a href="{{singlescan.get_absolute_url}}">{{singlescan.name}}</a></td>
|
||||
<td>
|
||||
{% for survexblock in singlescan.survexblock_set.all %}
|
||||
{{survexblock}}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<p><em>
|
||||
<a href="/expofiles/surveyscans/{{wallet.walletname|slice:'0:4'}}/walletindex.html">Wallet index for this year</a> {{wallet.walletname|slice:'0:4'}}
|
||||
<br />
|
||||
<a href="/expedition/{{wallet.walletname|slice:'0:4'}}">Expedition page for this year </a> {{wallet.walletname|slice:'0:4'}}
|
||||
<br />
|
||||
<a href="/scanupload/{{wallet.walletname|slice:'0:4'}}:01">First wallet for this year </a> {{wallet.walletname|slice:'0:4'}}
|
||||
</em>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user