forked from expo/troggle
adding people
This commit is contained in:
parent
fea69c0371
commit
9a461c31a8
@ -195,6 +195,10 @@ class Wallet(models.Model):
|
||||
jsondata = self.get_json()
|
||||
return jsondata["date"]
|
||||
|
||||
def people(self):
|
||||
jsondata = self.get_json()
|
||||
return jsondata["people"]
|
||||
|
||||
def name(self):
|
||||
jsondata = self.get_json()
|
||||
return jsondata["name"]
|
||||
|
@ -12,13 +12,14 @@ traced to produce Tunnel or Therion drawings and eventually the final complete c
|
||||
<p>This lists all the files in a wallet, some of which may not be for this specific cave.
|
||||
|
||||
<table width=95%>
|
||||
<tr><th>Wallet</th><th>Wallet Date</th><th>Wallet Name</th><th>Scans</th><th>Survex blocks</th><th>Survex dates</th><th>Drawings using these scans</th></tr>
|
||||
<tr><th>Wallet</th><th>Wallet Date</th><th>Wallet Name</th><th>People</th><th>Scans</th><th>Survex blocks</th><th>Survex dates</th><th>Drawings using these scans</th></tr>
|
||||
{% for wallet in manywallets|dictsort:"walletname" %}
|
||||
<tr>
|
||||
<td style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.walletname}}</a></td>
|
||||
|
||||
<td style="padding:2px">{{wallet.date}}</td>
|
||||
<td style="padding:2px">{{wallet.name}}</td>
|
||||
<td style="padding:2px">{{wallet.people}}</td>
|
||||
|
||||
<td align="right" style="padding:2px">{{wallet.singlescan_set.all|length}}</td>
|
||||
<td style="padding:2px">
|
||||
|
Loading…
Reference in New Issue
Block a user