Delete web/templates/normalize_subject_result.html
This commit is contained in:
parent
c072ce486b
commit
be7d132fc4
@ -1,54 +0,0 @@
|
|||||||
{% extends "base.html" %}
|
|
||||||
{% block body_class %}themed-bg{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="container">
|
|
||||||
<h1 class="page-title">{{ dry_run|yesno:"Preview,Applied" }} — Subject Normalizer</h1>
|
|
||||||
|
|
||||||
<div class="card" style="padding:16px; margin-bottom:16px;">
|
|
||||||
<div class="meta-grid">
|
|
||||||
<div>
|
|
||||||
<div class="meta-label">Mode</div>
|
|
||||||
<div class="subject-title" style="margin:0">
|
|
||||||
{{ dry_run|yesno:"Dry-run Preview,Applied" }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div class="meta-label">Entries scanned</div>
|
|
||||||
<div class="subject-title" style="margin:0">{{ total_considered }}</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<div class="meta-label">Changed</div>
|
|
||||||
<div class="subject-title" style="margin:0">
|
|
||||||
{% if dry_run %}
|
|
||||||
{{ rows|dictsort:"changed"|length }} <!-- not ideal; show below -->
|
|
||||||
{% else %}
|
|
||||||
{{ changed_count }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="small muted" style="margin-top:8px;">
|
|
||||||
In preview, nothing is saved; you can apply from the
|
|
||||||
<a href="{% url 'stats' %}#maintenance">Statistics</a> page.
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="card" style="padding:0;">
|
|
||||||
<table class="table" style="width:100%; border-collapse:collapse;">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th style="text-align:left; padding:10px 12px; border-bottom:1px solid #e5e7eb;">ID</th>
|
|
||||||
<th style="text-align:left; padding:10px 12px; border-bottom:1px solid #e5e7eb;">Before</th>
|
|
||||||
<th style="text-align:left; padding:10px 12px; border-bottom:1px solid #e5e7eb;">After</th>
|
|
||||||
<th style="text-align:left; padding:10px 12px; border-bottom:1px solid #e5e7eb;">Changed?</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
{% for r in rows %}
|
|
||||||
<tr style="border-top:1px solid #f1f5f9; {% if r.changed %}background:#fffbeb{% endif %}">
|
|
||||||
<td style="padding:10px 12px; white-space:nowrap;">
|
|
||||||
<a href="{% url 'entry_view' r.id %}">#{{ r.id }}</a>
|
|
||||||
</td>
|
|
||||||
<td style="padding:10px 12px;">{{ r.before|default:"—" }}</td>
|
|
||||||
<td style="padding:10px 12px;">{{
|
|
||||||
Loading…
Reference in New Issue
Block a user