-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1377 from nationalarchives/feature/awaiting-repar…
…se-report Add report on documents needing re-parsing
- Loading branch information
Showing
8 changed files
with
83 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ds_caselaw_editor_ui/templates/reports/awaiting_parse.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{% extends "layouts/base.html" %} | ||
{% load i18n humanize %} | ||
{% block content %} | ||
<div class="standard-text-template"> | ||
<h1>Documents awaiting parsing</h1> | ||
<p> | ||
These documents have not yet been parsed with the latest version of the parser, version <b>{{ target_parser_version }}</b>, and have not recently had an parsing attempt. | ||
</p> | ||
<p> | ||
There are <b>{{ documents|length|intcomma }}</b> documents waiting. | ||
</p> | ||
<table class="table"> | ||
<tr> | ||
<th>#</th> | ||
<th>Document</th> | ||
<th>Parsed with</th> | ||
<th>Last sent for parsing</th> | ||
</tr> | ||
{% for document in documents %} | ||
<tr> | ||
<td>{{ forloop.counter }}</td> | ||
{% for cell in document %}<td>{{ cell }}</td>{% endfor %} | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
</div> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters