OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
22
app/Domain/Help/Templates/helpermodal.blade.php
Normal file
22
app/Domain/Help/Templates/helpermodal.blade.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<script>
|
||||
jQuery(document).ready(function () {
|
||||
|
||||
// First login flow
|
||||
@if($isFirstLogin === true || $isFirstLogin === "true")
|
||||
leantime.helperController.firstLoginModal();
|
||||
@else
|
||||
|
||||
// Returning user flow
|
||||
@if(($isFirstLogin === false || $isFirstLogin === "false") && $showHelperModal === true)
|
||||
|
||||
// Show the appropriate helper modal for the current page
|
||||
@if(is_array($currentModal) && isset($currentModal['autoLoad']) && ($currentModal['autoLoad'] === true || $currentModal['autoLoad'] === "true"))
|
||||
leantime.helperController.showHelperModal('{{ $currentModal['template'] }}', 500, 700);
|
||||
@elseif(is_string($currentModal))
|
||||
leantime.helperController.showHelperModal('{{ $currentModal}}', 500, 700);
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user