| 1 | = Ticket list in a box on the wiki page = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | Display list of ticket numbers in a box on the right side of the page. |
| 6 | The purpose of this macro is show related tickets compactly. |
| 7 | You can specify ticket number or report number which would be expanded |
| 8 | as ticket numbers. Tickets will be displayed as sorted and uniq'ed. |
| 9 | |
| 10 | |
| 11 | == Bugs/Feature Requests == |
| 12 | |
| 13 | Existing bugs and feature requests for TicketBoxMacro are |
| 14 | [report:9?COMPONENT=TicketBoxMacro here]. |
| 15 | |
| 16 | If you have any issues, create a |
| 17 | [http://trac-hacks.swapoff.org/newticket?component=TicketBoxMacro&owner=gotoh new ticket]. |
| 18 | |
| 19 | == Download == |
| 20 | |
| 21 | [source:ticketboxmacro/0.8 TicketBoxMacro for 0.8].[[BR]] |
| 22 | [source:ticketboxmacro/0.9 TicketBoxMacro for 0.9]. |
| 23 | |
| 24 | == Source == |
| 25 | |
| 26 | You can check out the source for TicketBoxMacro from Subversion at http://trac-hacks.swapoff.org/svn/ticketboxmacro. |
| 27 | |
| 28 | == Example == |
| 29 | |
| 30 | Simple list of tickets by specifiying ticket numbers. |
| 31 | '#' character can be omitted: |
| 32 | {{{ |
| 33 | [[TicketBox(#1,#7,#31)]] |
| 34 | [[TicketBox(1,7,31)]] |
| 35 | }}} |
| 36 | |
| 37 | List tickets expanded from the report result. |
| 38 | Third example uses dynamic variable: |
| 39 | {{{ |
| 40 | [[TicketBox({1})]] |
| 41 | [[TicketBox([report:1])]] |
| 42 | [[TicketBox([report:9?COMPONENT=TicketBox])]] |
| 43 | }}} |
| 44 | |
| 45 | Combination of above is allowed. The tickets are listed as sorted and uniq'ed: |
| 46 | {{{ |
| 47 | [[TicketBox({1),#50,{2},100)]] |
| 48 | }}} |
| 49 | |
| 50 | Specifying a size of the box: |
| 51 | {{{ |
| 52 | [[TicketBox(500pt,{1})]] |
| 53 | [[TicketBox(200px,{1})]] |
| 54 | [[TicketBox(25%,{1})]] |
| 55 | }}} |
| 56 | |
| 57 | Specifying a title of the box: |
| 58 | {{{ |
| 59 | [[TicketBox('Related Tickets',#1,#2)]] |
| 60 | [[TicketBox("Related Ticekts",#1,#2)]] |
| 61 | }}} |
| 62 | |
| 63 | |
| 64 | == Author/Contributors == |
| 65 | |
| 66 | '''Author:''' [wiki:gotoh gotoh] [[BR]] |
| 67 | '''Contributors:''' |
| 68 | |
| 69 | [[TagIt(macro,gotoh,example,0.8,0.9)]] |