Changeset 623
- Timestamp:
- 10/21/08 18:31:49 (5 years ago)
- Location:
- trunk/plugins/tickettypedsystem/ticketsystem/templates
- Files:
-
- 1 added
- 2 edited
-
new_ticket.html (modified) (1 diff)
-
typedticket.html (added)
-
view_ticket.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/tickettypedsystem/ticketsystem/templates/new_ticket.html
r534 r623 40 40 </tr> 41 41 </py:match> 42 43 <py:match path="//fieldset[@id='properties']/table" once="true"> 44 <script type="text/javascript"> 45 46 47 //<![CDATA[ 48 $(document).ready(function() { 49 id = 0; 50 $('#add_existing').click(function() { 51 $('#relations').append("<label>"+(id + 1) + ": <input type=\"text\" id=\"rel"+id+"\" name=\"rel"+id+"\" /></label> <br />"); 52 id += 1; 53 $('#subtickets').val(id); 54 }) 55 }); 56 57 58 //]]> 59 </script> 60 ${select("*")} 61 <tr id="relations-container" > 62 <th style="vertical-align:top"><label> 63 <a id="add_existing" href="#properties">Add a subticket</a> 64 </label></th> 65 <td colspan="3"> 66 <div> 67 <div id="relations"> 68 69 </div> 70 <input id="subtickets" name="subtickets" type="hidden" value="0" /> 71 72 </div> 73 </td> 74 </tr> 75 </py:match> 42 76 </html> 77 -
trunk/plugins/tickettypedsystem/ticketsystem/templates/view_ticket.html
r602 r623 23 23 ${render_ticket_list(ticket['parent_tickets'], 'Parent Tickets')} 24 24 </py:match> 25 26 <py:match path="//table[@class='properties']" once="true"> 27 <table py:attrs="select('@*')"> 28 ${select("*|text()")} 29 <tr><td colspan="4"> </td></tr> 30 ${render_ticket_list(ticket['sub_tickets'], 'Sub Tickets')} 31 ${render_ticket_list(ticket['parent_tickets'], 'Parent Tickets')} 32 </table> 33 </py:match> 34 25 35 </html>
Note: See TracChangeset
for help on using the changeset viewer.
