OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
@if ($ticket->type == 'milestone')
<h4 class="widgettitle title-light">{!! __('headline.move_milestone') !!} </h4>
@else
<h4 class="widgettitle title-light">{!! __('headline.move_todo') !!} </h4>
@endif
<form method="post" action="{{ BASE_URL }}/tickets/moveTicket/{{ $ticket->id }}" class="formModal">
<h3>#{{ $ticket->id }} - {{ $ticket->headline }}</h3> <br />
<p>
@if ($ticket->type == 'milestone')
{!! __('text.moving_milestones') !!}
@else
{!! __('text.moving') !!}
@endif
<br /><br />
</p>
<select id="projectSelector" name="projectId">
@php
$i = 0;
$lastClient = '';
foreach ($projects as $projectRow) {
if ($lastClient != $projectRow['clientName']) {
$lastClient = $projectRow['clientName'];
if ($i > 1) {
echo '</optgroup>';
}
echo "<optgroup label='".$tpl->escape($projectRow['clientName'])."'> ";
}
echo "<option value='".$projectRow['id']."'>".$tpl->escape($projectRow['name']).'</option>';
$i++;
}
@endphp
</select><br /><br /><br /><br />
<br />
<x-global::forms.button tag="input" inputType="submit" contentRole="primary" :labelText="__('buttons.move')" name="move" />
<x-global::forms.button tag="a" class="pull-right" link="javascript:void(0);" onclick="jQuery.nmTop().close();" contentRole="tertiary">{!! __('buttons.back') !!}</x-global::forms.button>
<div class="clearall"></div>
<br />
</form>
<script>
@if (isset($_GET['closeModal']))
jQuery.nmTop().close();
@endif
jQuery(document).ready(function(){
jQuery("#projectSelector").chosen();
});
</script>