fixes #1090 move warning about missing checksums from dashboard to sync page

* avoid scaring users for a minor issue
* convert the warning message into a simple info
* simplify algorithm for detection and only search on relevant pages (batch manager + sync page)
This commit is contained in:
plegall
2019-10-14 14:14:54 +02:00
parent 9b695da86b
commit 72094c5f88
4 changed files with 21 additions and 30 deletions
+5
View File
@@ -67,6 +67,11 @@ else
$site_reader = new LocalSiteReader($site_url);
}
if (isset($page['no_md5sum_number']))
{
$page['messages'][] = '<a href="admin.php?page=batch_manager&amp;filter=prefilter-no_sync_md5sum">'.l10n('Some checksums are missing.').'<i class="icon-right"></i></a>';
}
// +-----------------------------------------------------------------------+
// | Quick sync |
// +-----------------------------------------------------------------------+