mirror of
https://github.com/duplicati/duplicati.git
synced 2025-11-28 11:30:24 +08:00
Direct import of PR#4978 Update web UI for new result reports. For operations with fatal errors, write logs to same operation ID. Test that Interrupted flag is correct in RunScriptTests. Update backup log display for new result reporting. Hide file statistics for fatal errors and change fatal icon.
19 lines
No EOL
1.2 KiB
HTML
19 lines
No EOL
1.2 KiB
HTML
<i class="{{ResultIcon(item.Result ? item.Result.ParsedResult : 'None')}}"></i>
|
|
{{item.Timestamp | parsetimestamp}} - {{"Operation" | translate}}: {{item.Result ? item.Result.MainOperation : item.Type | translate}}
|
|
<!-- Different description based on result -->
|
|
<span ng-if="item.Result && item.Result.ParsedResult == 'Fatal'" translate>failed</span>
|
|
<span ng-if="item.Result && item.Result.ParsedResult == 'Error'" translate
|
|
translate-n="item.Result.ErrorsActualLength"
|
|
translate-plural="({{$count}} errors{{item.Result.Interrupted? (', interrupted'|translate) : ''}})">
|
|
(1 error{{item.Result.Interrupted? (', interrupted'|translate) : ''}})
|
|
</span>
|
|
<span ng-if="item.Result && item.Result.ParsedResult == 'Warning'" translate
|
|
translate-n="item.Result.WarningsActualLength"
|
|
translate-plural="({{$count}} warnings{{item.Result.Interrupted? (', interrupted'|translate) : ''}})">
|
|
(1 warning{{item.Result.Interrupted? (', interrupted'|translate) : ''}})
|
|
</span>
|
|
<span ng-if="item.Result && item.Result.ParsedResult == 'Success' && item.Result.Interrupted" translate>
|
|
(interrupted)
|
|
</span>
|
|
<i style="float: right" class="fa fa-angle-{{expanded ? 'up': 'down'}}"></i>
|
|
<div style="clear: both;"></div> |