added: now plugin ticket uses a new horizontal table (plugins.ticket)
columns: dir_id, param, value we are able to build complicated tickets git-svn-id: svn://ttmath.org/publicrep/winix/trunk@664 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -17,146 +17,41 @@
|
||||
[end]
|
||||
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
<input class="edit" type="text" name="subject" value="[ticket_item_subject]">
|
||||
|
||||
<table class="ticket">
|
||||
|
||||
[if-one ticket_type_tab_defined]
|
||||
[if-one ticket_type_tab]
|
||||
[if ticket_tab]
|
||||
<table class="ticket">
|
||||
|
||||
[for ticket_tab]
|
||||
|
||||
<tr>
|
||||
<th>{form_ticket_type}:</th>
|
||||
<th>[ticket_tab_param]:</th>
|
||||
|
||||
<td>
|
||||
<select name="type">
|
||||
[for ticket_type_tab]
|
||||
<option [if-one ticket_type_tab_isdefault]selected [end]value="[ticket_type_tab_index]">[ticket_type_tab_name]</option>
|
||||
|
||||
[if ticket_tab_is_select]
|
||||
<select name="ticketparam[ticket_tab_param_index]">
|
||||
[for ticket_tab_select_tab]
|
||||
<option [if ticket_tab_select_tab_is_default]selected [end]value="[ticket_tab_select_tab_id]">[ticket_tab_select_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
[end]
|
||||
</select>
|
||||
|
||||
|
||||
[if ticket_tab_is_integer]
|
||||
<input type="text" name="ticketparam[ticket_tab_param_index]" value="[ticket_tab_value]">
|
||||
[end]
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
[end]
|
||||
[else]
|
||||
<tr>
|
||||
<th>{form_ticket_type}:</th>
|
||||
<td>
|
||||
<select name="type">
|
||||
<option value="0">-</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[if-one ticket_status_tab_defined]
|
||||
[if-one ticket_status_tab]
|
||||
<tr>
|
||||
<th>{form_ticket_status}:</th>
|
||||
<td>
|
||||
<select name="status">
|
||||
[for ticket_status_tab]
|
||||
<option [if-one ticket_status_tab_isdefault]selected [end]value="[ticket_status_tab_index]">[ticket_status_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
[else]
|
||||
<tr>
|
||||
<th>{form_ticket_status}:</th>
|
||||
<td>
|
||||
<select name="status">
|
||||
<option value="0">-</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
[if-one ticket_priority_tab_defined]
|
||||
[if-one ticket_priority_tab]
|
||||
<tr>
|
||||
<th>{form_ticket_priority}:</th>
|
||||
<td>
|
||||
<select name="priority">
|
||||
[for ticket_priority_tab]
|
||||
<option [if-one ticket_priority_tab_isdefault]selected [end]value="[ticket_priority_tab_index]">[ticket_priority_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
[else]
|
||||
<tr>
|
||||
<th>{form_ticket_priority}:</th>
|
||||
<td>
|
||||
<select name="priority">
|
||||
<option value="0">-</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[if-one ticket_category_tab_defined]
|
||||
[if-one ticket_category_tab]
|
||||
<tr>
|
||||
<th>{form_ticket_category}:</th>
|
||||
<td>
|
||||
<select name="category">
|
||||
[for ticket_category_tab]
|
||||
<option [if-one ticket_category_tab_isdefault]selected [end]value="[ticket_category_tab_index]">[ticket_category_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
[else]
|
||||
<tr>
|
||||
<th>{form_ticket_category}:</th>
|
||||
<td>
|
||||
<select name="category">
|
||||
<option value="0">-</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
|
||||
[if-one ticket_expected_tab_defined]
|
||||
[if-one ticket_expected_tab]
|
||||
<tr>
|
||||
<th>{form_ticket_expected}:</th>
|
||||
<td>
|
||||
<select name="expected">
|
||||
[for ticket_expected_tab]
|
||||
<option [if-one ticket_expected_tab_isdefault]selected [end]value="[ticket_expected_tab_index]">[ticket_expected_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
[else]
|
||||
<tr>
|
||||
<th>{form_ticket_expected}:</th>
|
||||
<td>
|
||||
<select name="expected">
|
||||
<option value="0">-</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
<tr>
|
||||
<th>{form_ticket_progress}:</th>
|
||||
<td><input type="text" name="progress" value="[ticket_progress]"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
[# !! change names form_emacs_content_thread and form_emacs_content_ticket]
|
||||
|
||||
<p class="withnext">{form_emacs_content_ticket}</p>
|
||||
|
||||
Reference in New Issue
Block a user