Skip to content

Commit a5f7b7f

Browse files
committed
fix: missing kanban ticket settings
1 parent 9f7c289 commit a5f7b7f

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

admin_settings_ticket.php

+25
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,31 @@
7272
<input type="email" class="form-control" name="config_ticket_new_ticket_notification_email" placeholder="Address to notify for new tickets, leave blank for none" value="<?php echo nullable_htmlentities($config_ticket_new_ticket_notification_email); ?>">
7373
</div>
7474
</div>
75+
76+
<div class="form-group">
77+
<label>Tickets Default View</label>
78+
<div class="input-group">
79+
<div class="input-group-prepend">
80+
<span class="input-group-text"><i class="fa fa-fw fa-eye"></i></span>
81+
</div>
82+
<select class="form-control" name="config_ticket_default_view">
83+
<option value=0 <?php if ($config_ticket_default_view == 0) { echo "selected"; } ?>>List</option>
84+
<option value=1 <?php if ($config_ticket_default_view == 1) { echo "selected"; } ?>>Compact</option>
85+
<option value=2 <?php if ($config_ticket_default_view == 2) { echo "selected"; } ?>>Kanban</option>
86+
</select>
87+
</div>
88+
</div>
89+
<div class="form-group">
90+
<label>Kanban Settings</label>
91+
<div class="custom-control custom-switch">
92+
<input type="checkbox" class="custom-control-input" name="config_ticket_ordering" <?php if ($config_ticket_ordering == 1) { echo "checked"; } ?> value="1" id="ticketOrderingSwitch">
93+
<label class="custom-control-label" for="ticketOrderingSwitch">Allow ticket ordering within its column<small class="text-secondary">(uncheked will result in ordering it by priority and id)</small></label>
94+
</div>
95+
<div class="custom-control custom-switch">
96+
<input type="checkbox" class="custom-control-input" name="config_ticket_moving_columns" <?php if ($config_ticket_moving_columns == 1) { echo "checked"; } ?> value="1" id="ticketMovingColumnsSwitch">
97+
<label class="custom-control-label" for="ticketMovingColumnsSwitch">Allow moving columns</label>
98+
</div>
99+
</div>
75100

76101
<hr>
77102

0 commit comments

Comments
 (0)