admin/sync: Add last sync date into full_import_report
This commit is contained in:
parent
809d166a2d
commit
935b1666ac
2 changed files with 12 additions and 1 deletions
|
@ -8,8 +8,11 @@
|
|||
</style>
|
||||
<script type="text/javascript">
|
||||
function disp(data) {
|
||||
if (data["_date"] && data["_date"].length == 2) {
|
||||
document.getElementById("date_imp").innerHTML = data["_date"][1];
|
||||
}
|
||||
Object.keys(data).map(function(theme) {
|
||||
if (data[theme] != null) {
|
||||
if (data[theme] != null && theme != "_date") {
|
||||
var title = document.createElement("h3");
|
||||
title.id = theme;
|
||||
title.innerHTML = theme;
|
||||
|
@ -31,6 +34,9 @@
|
|||
</head>
|
||||
<body class="container">
|
||||
<h1>Rapport d'import FIC</h1>
|
||||
<p>
|
||||
<strong>Date du dernier import :</strong> <span id="date_imp"></span>
|
||||
</p>
|
||||
<div id="content"></div>
|
||||
<script src="full_import_report.json"></script>
|
||||
</body>
|
||||
|
|
Reference in a new issue