OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
37
app/Domain/Projects/Templates/duplicateProject.blade.php
Normal file
37
app/Domain/Projects/Templates/duplicateProject.blade.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<h4 class="widgettitle title-light">{!! sprintf(__('headlines.duplicate_project_x'), $project['name']) !!}</h4>
|
||||
|
||||
{!! $tpl->displayNotification() !!}
|
||||
|
||||
<form class="formModal" method="post" action="{{ BASE_URL }}/projects/duplicateProject/{{ $project['id'] }}">
|
||||
|
||||
<label>{!! __('label.newProjectName') !!}</label>
|
||||
<x-global::forms.text-input name="projectName" value="{!! __('label.copy_of') !!} {{ $project['name'] }}" /><br />
|
||||
|
||||
<label>{!! __('label.planned_start_date') !!}</label>
|
||||
<input type="text" name="startDate" class="projectDateFrom" value="{{ format(date('Y-m-d'))->date() }}" placeholder="{{ __('language.dateformat') }}" id="sprintStart" /><br />
|
||||
|
||||
<label>{!! __('label.client_product') !!}</label>
|
||||
<select name="clientId" id="clientId">
|
||||
@foreach ($allClients as $row)
|
||||
<option value="{{ $row['id'] }}"
|
||||
@if ($project['clientId'] == $row['id']) selected=selected @endif
|
||||
>{{ $row['name'] }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
<br />
|
||||
<input style="float:left; margin-right:5px;"
|
||||
type="checkbox" name="assignSameUsers" id="assignSameUsers"/>
|
||||
<label for="assignSameUsers">{!! __('label.assignSameUsers') !!}</label>
|
||||
|
||||
<br />
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<x-global::forms.button tag="input" inputType="submit" contentRole="primary" :labelText="__('buttons.duplicate')" />
|
||||
</div>
|
||||
<div class="col-md-6 align-right padding-top-sm">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user