show warning if import file has no users or misses a header line

This commit is contained in:
Uwe Steinmann 2022-11-24 09:44:43 +01:00
parent 823d98b261
commit 63ca342576

View File

@ -120,6 +120,11 @@ class SeedDMS_View_ImportUsers extends SeedDMS_Theme_Style {
}
*/
echo "</table>";
} else {
if($colmap)
$this->warningMsg(getMLText('import_users_no_users'));
else
$this->warningMsg(getMLText('import_users_no_column_mapping'));
}
$this->columnEnd();
$this->rowEnd();