feat(ui): classify publisher errors with actionable hints
This commit is contained in:
parent
24d8e5ad0f
commit
8d7375c99f
3 changed files with 65 additions and 2 deletions
|
|
@ -256,7 +256,7 @@
|
|||
<h2>Publish Jobs</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>ID</th><th>Artikel</th><th>Status</th><th>Attempts</th><th>WP Post</th><th>Fehler</th></tr>
|
||||
<tr><th>ID</th><th>Artikel</th><th>Status</th><th>Attempts</th><th>WP Post</th><th>Fehler</th><th>Hinweis</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for j in publish_jobs %}
|
||||
|
|
@ -274,7 +274,15 @@
|
|||
-
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ j.error_message or "-" }}</td>
|
||||
<td>
|
||||
{% if j.error_message %}
|
||||
<span class="badge errcat errcat-{{ j.error_category }}">{{ j.error_category }}</span>
|
||||
<div>{{ j.error_message }}</div>
|
||||
{% else %}
|
||||
-
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ j.error_hint or "-" }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue