From 965f5defe47f3748c9fbb78f9252d30e70af2a6d Mon Sep 17 00:00:00 2001 From: Chenjianyu Date: Mon, 21 Aug 2023 15:13:22 +0800 Subject: [PATCH] * unify the audit icon. --- module/ai/view/promptview.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ai/view/promptview.html.php b/module/ai/view/promptview.html.php index 226db8a1d5..646217b20d 100644 --- a/module/ai/view/promptview.html.php +++ b/module/ai/view/promptview.html.php @@ -69,7 +69,7 @@ status == 'draft' && (common::hasPriv('ai', 'promptassignrole') || common::hasPriv('ai', 'promptaudit') || common::hasPriv('ai', 'publish'))) || ($prompt->status != 'draft' && common::hasPriv('ai', 'unpublish'))): ?>
status == 'draft') echo html::a(helper::createLink('ai', 'promptassignrole', "prompt=$prompt->id"), ' ' . $lang->ai->prompts->action->design, '', "class='btn'"); ?> - status == 'draft' && $this->ai->isExecutable($prompt)) echo html::a($this->ai->getTestingLocation($prompt), ' ' . $lang->ai->prompts->action->test, '', "class='btn prompt-audit-btn'"); ?> + status == 'draft' && $this->ai->isExecutable($prompt)) echo html::a($this->ai->getTestingLocation($prompt), ' ' . $lang->ai->prompts->action->test, '', "class='btn prompt-audit-btn'"); ?> status == 'draft' && $this->ai->isExecutable($prompt)) echo html::a(helper::createLink('ai', 'promptpublish', "id={$prompt->id}"), ' ' . $lang->ai->prompts->action->publish, '', "class='btn'"); ?> status == 'active') echo html::a(helper::createLink('ai', 'promptunpublish', "id={$prompt->id}"), ' ' . $lang->ai->prompts->action->unpublish, '', "class='btn' id='unpublish-btn'"); ?>