diff --git a/module/block/ui/doccollectlistblock.html.php b/module/block/ui/doccollectlistblock.html.php index 3ae751115b..1fb2ef724d 100644 --- a/module/block/ui/doccollectlistblock.html.php +++ b/module/block/ui/doccollectlistblock.html.php @@ -42,6 +42,6 @@ namespace zin; doc->noDoc : div(setClass('flex flex-wrap content-between gap-3'), $docItems) -); +blockPanel(empty($docList) ? $lang->doc->noDoc : div(setClass('flex flex-wrap content-between gap-3'), $docItems)); render(); diff --git a/module/block/ui/docstatisticblock.html.php b/module/block/ui/docstatisticblock.html.php index 1161e7c973..c79fc3e0e8 100644 --- a/module/block/ui/docstatisticblock.html.php +++ b/module/block/ui/docstatisticblock.html.php @@ -58,5 +58,5 @@ namespace zin;