1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<div class="page-header">
<h2><?= t('Edit tasks in bulk') ?></h2>
</div>
<form action="<?= $this->url->href('TaskBulkChangePropertyController', 'save', ['project_id' => $project['id']]) ?>" method="post">
<?= $this->form->csrf() ?>
<?= $this->form->hidden('task_ids', $values) ?>
<p class="form-help"><?= t('Choose the properties that you would like to change for the selected tasks.') ?></p>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_color" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderColorField($values) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_assignee" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderAssigneeField($users_list, $values, $errors) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_priority" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderPriorityField($project, $values) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_category" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderCategoryField($categories_list, $values, $errors, [], true) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_tags" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderTagField($project) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_due_date" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderDueDateField($values, $errors) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_start_date" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderStartDateField($values, $errors) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_estimated_time" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderTimeEstimatedField($values, $errors) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_spent_time" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderTimeSpentField($values, $errors) ?>
</div>
</fieldset>
<fieldset class="bulk-change-block">
<div class="bulk-change-checkbox">
<input type="checkbox" name="change_score" value="1">
</div>
<div class="bulk-change-inputs">
<?= $this->task->renderScoreField($values, $errors) ?>
</div>
</fieldset>
<?= $this->modal->submitButtons() ?>
</form>
|