admin: Fix sync report display
This commit is contained in:
parent
cea3c13369
commit
adebdd180d
2 changed files with 44 additions and 23 deletions
|
|
@ -19,8 +19,8 @@
|
|||
<h3 class="mb-0">
|
||||
Import des thèmes
|
||||
</h3>
|
||||
<div class="badge badge-success align-self-center" ng-if="syncReport">
|
||||
Dernier import : {{ syncReport._date[1] }}
|
||||
<div class="badge badge-success align-self-center" ng-if="syncReport" title="{{ syncReport._updated[syncReport._updated.length-1] }}">
|
||||
Dernier import : {{ syncReport._updated[syncReport._updated.length-1] | date:"medium" }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="progress" style="height: 5px; border-radius: 0;">
|
||||
|
|
@ -68,7 +68,27 @@
|
|||
Dernier rapport de synchronisation
|
||||
</h3>
|
||||
</div>
|
||||
<div ng-repeat="(th, line) in syncReport" class="card-body" ng-if="th !== '_date' && line.length">
|
||||
<div class="card-body" ng-if="syncReport._regeneration.length">
|
||||
<div class="d-flex">
|
||||
<h3>
|
||||
Génération
|
||||
</h3>
|
||||
</div>
|
||||
<ul>
|
||||
<li ng-repeat="item in syncReport._regeneration" class="text-break">{{ item }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card-body" ng-if="syncReport._themes.length">
|
||||
<div class="d-flex">
|
||||
<h3>
|
||||
Général
|
||||
</h3>
|
||||
</div>
|
||||
<ul>
|
||||
<li ng-repeat="item in syncReport._themes" class="text-break">{{ item }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div ng-repeat="(th, line) in syncReport.themes" class="card-body" ng-if="line.length">
|
||||
<div class="d-flex">
|
||||
<h3>
|
||||
{{ th }}
|
||||
|
|
|
|||
Reference in a new issue