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:
@@ -1 +1,17 @@
|
||||
<p class="iteminfo">{added_by}: [dir_last_user], [dir_last_date_creation][if-no dir_last_dates_equal], {last_modified}: [dir_last_date_modification][end]</p>
|
||||
<p class="iteminfo">
|
||||
{added_by}: [dir_last_user], [dir_last_date_creation_nice]
|
||||
|
||||
[if-no dir_last_dates_equal]
|
||||
, {last_modified}
|
||||
|
||||
[if dir_last_users_different]
|
||||
{by}: [dir_last_modification_user],
|
||||
[else]
|
||||
:
|
||||
[end]
|
||||
|
||||
[dir_last_date_modification_nice]
|
||||
|
||||
[end]
|
||||
|
||||
</p>
|
||||
|
@@ -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>
|
||||
|
@@ -9,26 +9,30 @@
|
||||
[end]
|
||||
|
||||
|
||||
[if-one ticket_tab]
|
||||
[if tickets_tab]
|
||||
<table class="tickettab">
|
||||
|
||||
<tr>
|
||||
<th>{ticket_tab_name}</th>
|
||||
[if-any ticket_type_tab]<th>{ticket_tab_type}</th>[end]
|
||||
[if-any ticket_status_tab]<th>{ticket_tab_status}</th>[end]
|
||||
<th>{ticket_info_progress}</th>
|
||||
[if-any ticket_priority_tab]<th>{ticket_tab_priority}</th>[end]
|
||||
[if-any ticket_expected_tab]<th>{ticket_tab_expected}</th>[end]
|
||||
<th>{tickets_header_name}</th>
|
||||
[for ticket_tab]
|
||||
<th>[ticket_tab_param]</th>
|
||||
[end]
|
||||
</tr>
|
||||
[for ticket_tab]
|
||||
|
||||
[for tickets_tab]
|
||||
<tr>
|
||||
<td class="tickettabtitle"><a href="[doc_base_url][dir][ticket_tab_url]">[if-no ticket_tab_subject_empty][ticket_tab_subject][else]<[ticket_tab_url]>[else]</a></td>
|
||||
[if-any ticket_type_tab]<td>[ticket_tab_type]</td>[end]
|
||||
[if-any ticket_status_tab]<td>[ticket_tab_status]</td>[end]
|
||||
<td><img src="[doc_base_url_common]/{ticket_progress_image_path}/progress_[ticket_tab_progress_image_number].gif" alt="progress [ticket_tab_progress]%"></td>
|
||||
[if-any ticket_priority_tab]<td>[ticket_tab_priority]</td>[end]
|
||||
[if-any ticket_expected_tab]<td>[ticket_tab_expected]</td>[end]
|
||||
<td class="tickettabtitle"><a href="[doc_base_url][dir][tickets_tab_url]">[if-no tickets_tab_subject_empty][tickets_tab_subject][else]<[tickets_tab_url]>[end]</a></td>
|
||||
[for tickets_tab_conf_tab]
|
||||
|
||||
[if tickets_tab_conf_tab_is_progress]
|
||||
<td><img src="[doc_base_url_common]/{ticket_progress_image_path}/progress_[tickets_tab_conf_tab_progress_image_number].gif" alt="progress [tickets_tab_conf_tab_value]%"></td>
|
||||
[else]
|
||||
<td>[tickets_tab_conf_tab_value]</td>
|
||||
[end]
|
||||
[end]
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
[end]
|
||||
|
||||
@@ -37,12 +41,9 @@
|
||||
<div class="ticketinfo">
|
||||
[if-one ticket_can_edit]<p class="edit"><a href="[doc_base_url][dir]editticket">\[{edit}\]</a></p>[end]
|
||||
<table>
|
||||
[if-any ticket_type_tab]<tr><th>{ticket_info_type}:</th><td>[ticket_type]</td></tr>[end]
|
||||
[if-any ticket_status_tab]<tr><th>{ticket_info_status}:</th><td>[ticket_status]</td></tr>[end]
|
||||
[if-any ticket_priority_tab]<tr><th>{ticket_info_priority}:</th><td>[ticket_priority]</td></tr>[end]
|
||||
[if-any ticket_category_tab]<tr><th>{ticket_info_category}:</th><td>[ticket_category]</td></tr>[end]
|
||||
[if-any ticket_expected_tab]<tr><th>{ticket_info_expected}:</th><td>[ticket_expected]</td></tr>[end]
|
||||
<tr><th>{ticket_info_progress}:</th><td>[ticket_progress]%</td></tr>
|
||||
[for ticket_tab]
|
||||
<tr><th>[ticket_tab_param]:</th><td>[ticket_tab_value]</td></th></tr>
|
||||
[end]
|
||||
</table>
|
||||
[ticket_item_print_content]
|
||||
</div>
|
||||
|
@@ -1 +1,16 @@
|
||||
<p class="iteminfo">{added_by}: [item_user], [item_date_creation_nice][if-no item_dates_equal], {last_modified}[if-one item_users_different] {by}: [item_modification_user], [else]: [end][item_date_modification_nice][end]</p>
|
||||
<p class="iteminfo">
|
||||
{added_by}: [item_user], [item_date_creation_nice]
|
||||
|
||||
[if-no item_dates_equal]
|
||||
, {last_modified}
|
||||
|
||||
[if item_users_different]
|
||||
{by}: [item_modification_user],
|
||||
[else]
|
||||
:
|
||||
[end]
|
||||
|
||||
[item_date_modification_nice]
|
||||
|
||||
[end]
|
||||
</p>
|
||||
|
@@ -1 +1,18 @@
|
||||
<p class="[if-index item_tab odd]itemtabinfo[else][if mount_thread_arg_is "subject"]itemtabinfo[else]itemtabinfo2[end][end]">{added_by}: [item_tab_user], [item_tab_date_creation_nice][if-no item_tab_dates_equal], {last_modified}[if-one item_tab_users_different] {by}: [item_tab_modification_user], [else]: [end][item_tab_date_modification_nice][end]</p>
|
||||
<p class="[if-index item_tab odd]itemtabinfo[else][if mount_thread_arg_is "subject"]itemtabinfo[else]itemtabinfo2[end][end]">
|
||||
|
||||
{added_by}: [item_tab_user], [item_tab_date_creation_nice]
|
||||
|
||||
[if-no item_tab_dates_equal]
|
||||
, {last_modified}
|
||||
|
||||
[if-one item_tab_users_different]
|
||||
{by}: [item_tab_modification_user],
|
||||
[else]
|
||||
:
|
||||
[end]
|
||||
|
||||
[item_tab_date_modification_nice]
|
||||
|
||||
[end]
|
||||
|
||||
</p>
|
||||
|
Reference in New Issue
Block a user