forked from expo/troggle
Make survex file more obvious in table
This commit is contained in:
parent
0611c3f00f
commit
47878d264b
@ -1,6 +1,6 @@
|
||||
|
||||
<table width=95%>
|
||||
<tr><th>Wallet</th><th width=8%>Wallet Date</th><th>Cave</th><th>Wallet Name</th>
|
||||
<tr><th>Wallet</th><th width=8%>Wallet Date</th><th>Cave</th><th>Wallet Name</th><th>Survex</th>
|
||||
|
||||
<!-- survex file-->
|
||||
<th style="font-family: monospace; font-size: 150%;" title="Survex data">S</th>
|
||||
@ -24,6 +24,11 @@
|
||||
<td style="padding:2px">{% if wallet.date %}{{wallet.date}}{% else %} {% endif %}</td>
|
||||
<td style="padding:2px">{% if wallet.cave %}{{wallet.cave}}{% else %} {% endif %}</td>
|
||||
<td style="padding:2px">{% if wallet.name %}{{wallet.name}}{% else %}<em>{% if wallet.displaynames %} {% for dn in wallet.displaynames %}{{dn}}{%if not forloop.last %}, {% endif %} {% endfor %}{% else %} {% endif %}</em>{% endif %}</td>
|
||||
<td style="padding:2px" align=center>
|
||||
{% for survexblock in wallet.survexblock_set.all %}
|
||||
<a href="{% url "svx" survexblock.survexfile.path %}">svx{{ forloop.counter }}</a>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
<td style="padding:1px; background-color:{{wallet.ticks.S}}"> </td>
|
||||
<td style="padding:1px; background-color:{{wallet.ticks.C}}"> </td>
|
||||
|
Loading…
Reference in New Issue
Block a user