* add ai mini program export help btn.
This commit is contained in:
@@ -103,3 +103,8 @@ function exportMiniProgram(event)
|
||||
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
$(function()
|
||||
{
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
|
||||
@@ -69,6 +69,7 @@ $lang->ai->import = 'Import';
|
||||
$lang->ai->saveFail = 'Save failed';
|
||||
$lang->ai->installPackage = 'Installation package';
|
||||
$lang->ai->toPublish = 'Publish after installation';
|
||||
$lang->ai->toZentaoStoreAIPage = 'Click to jump to Zentao official app store AI mini programs page';
|
||||
|
||||
$lang->ai->chatPlaceholderMessage = 'Hi, I\'m Adao, your AI assistant at ZenTao!';
|
||||
$lang->ai->chatPlaceholderInput = 'type here...';
|
||||
|
||||
@@ -69,6 +69,7 @@ $lang->ai->import = 'Import';
|
||||
$lang->ai->saveFail = 'Save failed';
|
||||
$lang->ai->installPackage = 'Installation package';
|
||||
$lang->ai->toPublish = 'Publish after installation';
|
||||
$lang->ai->toZentaoStoreAIPage = 'Click to jump to Zentao official app store AI mini programs page';
|
||||
|
||||
$lang->ai->chatPlaceholderMessage = 'Hi, I\'m Adao, your AI assistant at ZenTao!';
|
||||
$lang->ai->chatPlaceholderInput = 'type here...';
|
||||
|
||||
@@ -64,12 +64,12 @@ $lang->ai->exportMiniProgram = 'Export AI Mini Program';
|
||||
$lang->ai->importMiniProgram = 'Import AI Mini Program';
|
||||
$lang->ai->editMiniProgramCategory = 'Module maintenance';
|
||||
|
||||
|
||||
$lang->ai->export = 'Export';
|
||||
$lang->ai->import = 'Import';
|
||||
$lang->ai->saveFail = 'Save failed';
|
||||
$lang->ai->installPackage = 'Installation package';
|
||||
$lang->ai->toPublish = 'Publish after installation';
|
||||
$lang->ai->toZentaoStoreAIPage = 'Click to jump to Zentao official app store AI mini programs page';
|
||||
|
||||
$lang->ai->chatPlaceholderMessage = 'Hi, I\'m Adao, your AI assistant at ZenTao!';
|
||||
$lang->ai->chatPlaceholderInput = 'type here...';
|
||||
|
||||
@@ -69,6 +69,7 @@ $lang->ai->import = '导入';
|
||||
$lang->ai->saveFail = '保存失败';
|
||||
$lang->ai->installPackage = '安装包';
|
||||
$lang->ai->toPublish = '安装后发布';
|
||||
$lang->ai->toZentaoStoreAIPage = '点击可跳转至禅道官网应用商店AI小程序页面';
|
||||
|
||||
$lang->ai->chatPlaceholderMessage = 'Hi,我是 AI 助手阿道,您可以问我任何问题。';
|
||||
$lang->ai->chatPlaceholderInput = '问问阿道…';
|
||||
|
||||
@@ -19,9 +19,14 @@ $finalList = array_merge($categoryList, $lang->ai->miniPrograms->allCategories);
|
||||
</div>
|
||||
<div class="btn-toolbar pull-right">
|
||||
<?php if(common::hasPriv('ai', 'importMiniProgram')): ?>
|
||||
<button class="btn btn-primary" data-toggle="modal" data-target="#import-miniprogram">
|
||||
<a class="btn btn-link" data-toggle="tooltip" data-placement="top" title="<?= $lang->ai->toZentaoStoreAIPage; ?>" href="https://www.zentao.net/extension-browse-1625.html">
|
||||
<i class="icon icon-help"></i>
|
||||
<?= $lang->help; ?>
|
||||
</a>
|
||||
<a class="btn btn-primary" data-toggle="modal" data-target="#import-miniprogram">
|
||||
<i class="icon icon-import"></i>
|
||||
<?= $lang->ai->import; ?>
|
||||
</button>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php if(common::hasPriv('ai', 'createMiniProgram')): ?>
|
||||
<?= html::a($this->createLink('ai', 'createMiniProgram'), "<i class='icon icon-plus'></i> " . $lang->ai->miniPrograms->create, '', "class='btn btn-primary'"); ?>
|
||||
|
||||
Reference in New Issue
Block a user