* [refac] adjust empty tip for report.

This commit is contained in:
tianshujie
2025-08-05 08:57:31 +08:00
parent 1046e311ff
commit e1d3920e54
5 changed files with 6 additions and 1 deletions
+1
View File
@@ -109,6 +109,7 @@ $lang->docTemplate->content = 'Template Text';
$lang->docTemplate->templateDesc = 'Template Desc';
$lang->docTemplate->status = 'Template Status';
$lang->docTemplate->emptyTip = 'There is no system data that conform to this parameter and filtering conditions.';
$lang->docTemplate->emptyDataTip = 'There is no system data that conform to this filtering conditions.';
$lang->docTemplate->previewTip = 'After configuring the parameters, this block will display the corresponding list data according to the filter configuration.';
$lang->docTemplate->confirmDeleteChapterWithSub = "After deleting a chapter, the lower level content of the chapter will be hidden. Are you sure you want to delete the chapter?";
$lang->docTemplate->confirmDeleteTemplateWithSub = "After deleting the template, the lower level content of the template will be hidden. Are you sure you want to delete this template?";
+1
View File
@@ -109,6 +109,7 @@ $lang->docTemplate->content = 'Template Text';
$lang->docTemplate->templateDesc = 'Template Desc';
$lang->docTemplate->status = 'Template Status';
$lang->docTemplate->emptyTip = 'There is no system data that conform to this parameter and filtering conditions.';
$lang->docTemplate->emptyDataTip = 'There is no system data that conform to this filtering conditions.';
$lang->docTemplate->previewTip = 'After configuring the parameters, this block will display the corresponding list data according to the filter configuration.';
$lang->docTemplate->confirmDeleteChapterWithSub = "After deleting a chapter, the lower level content of the chapter will be hidden. Are you sure you want to delete the chapter?";
$lang->docTemplate->confirmDeleteTemplateWithSub = "After deleting the template, the lower level content of the template will be hidden. Are you sure you want to delete this template?";
+1
View File
@@ -109,6 +109,7 @@ $lang->docTemplate->content = 'Template Text';
$lang->docTemplate->templateDesc = 'Template Desc';
$lang->docTemplate->status = 'Template Status';
$lang->docTemplate->emptyTip = 'There is no system data that conform to this parameter and filtering conditions.';
$lang->docTemplate->emptyDataTip = 'There is no system data that conform to this filtering conditions.';
$lang->docTemplate->previewTip = 'After configuring the parameters, this block will display the corresponding list data according to the filter configuration.';
$lang->docTemplate->confirmDeleteChapterWithSub = "After deleting a chapter, the lower level content of the chapter will be hidden. Are you sure you want to delete the chapter?";
$lang->docTemplate->confirmDeleteTemplateWithSub = "After deleting the template, the lower level content of the template will be hidden. Are you sure you want to delete this template?";
+1
View File
@@ -109,6 +109,7 @@ $lang->docTemplate->content = '模板内容';
$lang->docTemplate->templateDesc = '模板描述';
$lang->docTemplate->status = '模板状态';
$lang->docTemplate->emptyTip = '此参数与筛选条件下,暂无符合条件系统数据。';
$lang->docTemplate->emptyDataTip = '此筛选条件下,暂无符合条件系统数据。';
$lang->docTemplate->previewTip = '配置参数后,此区块会根据筛选器的配置展示相应的列表数据。';
$lang->docTemplate->confirmDeleteChapterWithSub = "删除章节后,章节下层级内容将一并隐藏,确定要删除该章节吗?";
$lang->docTemplate->confirmDeleteTemplateWithSub = "删除文档模板后,文档模板下层级内容将一并隐藏,确定要删除该文档模板吗?";
+2 -1
View File
@@ -50,8 +50,9 @@ if($isTemplate || $fromTemplate)
if(($type == 'productCase' || $type == 'projectCase') && !empty($caseStage)) $blockTitle = $blockTitle . $lang->testcase->stageList[$caseStage];
}
$emptyTip = $fromReport ? $lang->docTemplate->emptyTip : $lang->doc->previewTip;
$emptyTip = $lang->doc->previewTip;
if(!$isTemplate && $fromTemplate) $emptyTip = $isSetted ? $lang->docTemplate->emptyTip : $lang->docTemplate->previewTip;
if($fromReport) $emptyTip = $lang->docTemplate->emptyDataTip;
$pagerSetting = usePager();
unset($pagerSetting['linkCreator']);