1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-30 13:30:00 +00:00

Added error message to task list

This commit is contained in:
Ozzie Isaacs 2024-08-02 18:21:04 +02:00
commit 3aa72c8afb
3 changed files with 1081 additions and 480 deletions

View File

@ -82,6 +82,7 @@ def render_task_status(tasklist):
ret['task_id'] = task.id
ret['stat'] = task.stat
ret['is_cancellable'] = task.is_cancellable
ret['error'] = task.error
rendered_tasklist.append(ret)

View File

@ -16,6 +16,7 @@
<th data-halign="right" data-align="right" data-field="progress" data-sortable="true" data-sorter="elementSorter">{{_('Progress')}}</th>
<th data-halign="right" data-align="right" data-field="runtime" data-sortable="true" data-sort-name="rt">{{_('Run Time')}}</th>
<th data-halign="right" data-align="right" data-field="starttime" data-sortable="true" data-sort-name="id">{{_('Start Time')}}</th>
<th data-halign="right" data-align="right" data-field="error" data-sortable="true">{{_('Message')}}</th>
{% if current_user.role_admin() %}
<th data-halign="right" data-align="right" data-formatter="TaskActions" data-switchable="false">{{_('Actions')}}</th>
{% endif %}

File diff suppressed because it is too large Load Diff