{% extends "base.html" %}
{% load wiki_markup %}
{% load survex_markup %}

{% block title %}Survey Scans Folder{% endblock %}

{% block content %}

<h3>Survey Scans in: {{scansfolder.walletname}}</h3>
<table>
{% for singlescan in scansfolder.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>

<h3>Survex surveys referring to this wallet</h3>

<table>
{% for survexblock in scansfolder.survexblock_set.all %}
  <tr>
    <td><a href="{% url "svx" survexblock.survexfile.path %}">{{survexblock}}</a></td>
  </tr>
{% endfor %}
</table>

{% endblock %}
