mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
ffb5d7bdda
url in templates now requires quotes roung the first arg USE_TZ added
50 lines
1.3 KiB
HTML
50 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% load wiki_markup %}
|
|
{% load survex_markup %}
|
|
|
|
|
|
{% block title %}Survex Block{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Survex Block {{survexblock.survexpath}}</h2>
|
|
|
|
<p>Link to <a href="{% url "svx" survexblock.survexfile.path %}">{{survexblock.survexfile.path}}</a></p>
|
|
|
|
<p>Needs duplicates removed from right hand column</p>
|
|
<p>Needs links to survex file presentation</p>
|
|
<p>Needs to start dealing with misspellings of names (prob by editing the originals)</p>
|
|
|
|
<div id="col2">
|
|
|
|
{% if survexblock.parent %}
|
|
<p>Survey block above:</p>
|
|
<p class="indent"><a href="{% url "survexblock" survexblock.parent.survexpath %}">{{survexblock.parent.survexpath}}</a></p>
|
|
{% endif %}
|
|
|
|
{% if survexblock.survexblock_set.all %}
|
|
<p>Survey blocks below:</p>
|
|
{% for survexblockdown in survexblock.survexblock_set.all %}
|
|
<p class="indent"><a href="{% url "survexblock" survexblockdown.survexpath %}">{{survexblockdown.survexpath}}</a></p>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
<p>Date: {{survexblock.date}}</p>
|
|
|
|
<table>
|
|
{% for personrole in survexblock.GetPersonroles %}
|
|
<tr>
|
|
<td><a href="{{personrole.person.get_absolute_url}}">{{personrole.person}}</a></td>
|
|
<td>{{personrole.roles}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="survexblock">
|
|
{{ftext|survex_to_html}}
|
|
</div>
|
|
|
|
{% endblock %}
|