diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-09-19 23:10:09 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-09-19 23:10:09 +0300 |
commit | 47878d264b05aaed621be6dfa52887fa4fe76cb4 (patch) | |
tree | 92bf4bc490235c21033a05adaf2cf87372e39703 /templates/wallet_table.html | |
parent | 0611c3f00fc17bf8fe100e1c19c0e95e985845f1 (diff) | |
download | troggle-47878d264b05aaed621be6dfa52887fa4fe76cb4.tar.gz troggle-47878d264b05aaed621be6dfa52887fa4fe76cb4.tar.bz2 troggle-47878d264b05aaed621be6dfa52887fa4fe76cb4.zip |
Make survex file more obvious in table
Diffstat (limited to 'templates/wallet_table.html')
-rw-r--r-- | templates/wallet_table.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/wallet_table.html b/templates/wallet_table.html index a7114d1..f35d28a 100644 --- a/templates/wallet_table.html +++ b/templates/wallet_table.html @@ -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> |