mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
therion issues report
This commit is contained in:
parent
a321625f35
commit
719e0fe918
@ -21,7 +21,10 @@ from troggle.parsers.people import (GetPersonExpeditionNameLookup,
|
||||
|
||||
#from django.views.generic.list import ListView
|
||||
|
||||
|
||||
def therionissues(request):
|
||||
theriondict = {}
|
||||
|
||||
return render(request, 'therionreport.html', {"theriondict":theriondict})
|
||||
|
||||
'''Very simple report pages summarizing data about the whole set of expeditions and of
|
||||
the status of data inconsistencies
|
||||
|
@ -23,7 +23,8 @@
|
||||
<ul>
|
||||
<li><a href="/pathsreport">Folder paths used</a> -folders settings used by this troggle installation
|
||||
<li><a href="/aliases/2022">Expoer name aliases</a> -short names recognised by troggle
|
||||
<li><a href="/dataissues">Data Issues on Imports</a> - warnings and errors from recent data import
|
||||
<li><a href="/dataissues">Data Issues on Imports</a> - warnings and errors from the recent data import
|
||||
<li><a href="/therionissues">Therion Import issues</a> - warnings from the recent data import
|
||||
<li><a href="/admin/">Django admin</a> - Deep magic access to all models and data
|
||||
</ul>
|
||||
<h3>This control panel is being redeveloped</h3>
|
||||
|
18
templates/therionreport.html
Normal file
18
templates/therionreport.html
Normal file
@ -0,0 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Troggle paths report{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Expo Therion import issues report</h1>
|
||||
|
||||
<p style="font-family: Consolas, Lucida Console, monospace;">
|
||||
{% for line in theriondict %}
|
||||
{% empty %}
|
||||
<b>No Therion parsing output found. Re-import all drawings using databaseReset.py</b>
|
||||
{% endfor %}
|
||||
|
||||
<p>This report is generated from <code>templates/therionreport.html</code> and
|
||||
by <code>therionreport(request)</code> in <code>core/views/statistics.py </code>
|
||||
<hr>
|
||||
<p>Go to <a href="/handbook/troggle/trogmanual.html">Troggle maintenance manuals</a>
|
||||
{% endblock %}
|
||||
|
1
urls.py
1
urls.py
@ -147,6 +147,7 @@ trogglepatterns = [
|
||||
path('stats', statistics.stats, name="stats"),
|
||||
path('pathsreport', statistics.pathsreport, name="pathsreport"),
|
||||
path('dataissues', statistics.dataissues, name="dataissues"),
|
||||
path('therionissues', statistics.therionissues, name="therionissues"),
|
||||
path('eastings', statistics.eastings, name="eastings"),
|
||||
path('aliases/<int:year>',statistics.aliases, name="aliases"),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user