Changes between Version 25 and Version 26 of TicketBoxMacro
- Timestamp:
- Nov 13, 2015, 8:56:32 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TicketBoxMacro
v25 v26 20 20 == Bugs/Feature Requests 21 21 22 Existing bugs and feature requests for TicketBoxMacro are [query:status!=closed&component=TicketBoxMacro&order=priority here]. 22 Existing bugs and feature requests for TicketBoxMacro are 23 [report:9?COMPONENT=TicketBoxMacro here]. 23 24 24 25 If you have any issues, create a … … 29 30 == Download 30 31 31 Download the zipped source from [ download:ticketboxmacro here].32 Download the zipped source from [export:ticketboxmacro here]. 32 33 33 34 == Source 34 35 35 You can check out TicketBoxMacro from [ http://trac-hacks.org/svn/ticketboxmacro here] using Subversion, or [source:ticketboxmacro browse the source] with Trac.36 You can check out TicketBoxMacro from [/svn/ticketboxmacro here] using Subversion, or [source:ticketboxmacro browse the source] with Trac. 36 37 37 38 == Installation … … 40 41 41 42 For Trac 0.11 or later, copy `TicketBox.py` to `plugins` directory of your Trac environment and there is no need enable this plugin explicitly. 42 Or copy it to system wide `plugins` directory then enable the `TicketBox` plugin via the admin page.43 Or copy it to system wide `plugins` directory, then enable the `TicketBox` plugin via the admin page. 43 44 44 45 == Usage … … 47 48 '#' character can be omitted: 48 49 {{{ 49 [[TicketBox(#1, #7,#31)]]50 [[TicketBox(1, 7,31)]]50 [[TicketBox(#1, #7, #31)]] 51 [[TicketBox(1, 7, 31)]] 51 52 }}} 52 53 … … 64 65 If field name of ticket id is not 'ticket' in report report definition, you can specify by `ticket=xxx`: 65 66 {{{ 66 [[Ticketbox({20}, ticket=id)]]67 [[Ticketbox({20}, ticket=id)]] 67 68 }}} 68 69 … … 73 74 }}} 74 75 75 The combination of above is allowed.76 The combination of the above is allowed. 76 77 The tickets are listed as sorted and uniq'ed: 77 78 {{{ 78 [[TicketBox({1}, #50,{2},[query:keywords~=important],100)]]79 [[TicketBox({1}, #50, {2}, [query:keywords~=important], 100)]] 79 80 }}} 80 81 81 If `nosort` option is specified, t ickets are listed without sorting:82 If `nosort` option is specified, then the tickets are listed without sorting: 82 83 {{{ 83 [[TicketBox(3, 2,1,{1},nosort)]]84 [[TicketBox(3, 2, 1, {1}, nosort)]] 84 85 }}} 85 86 86 == Display Options87 === Display Options 87 88 88 89 You can specify the size of the box: 89 90 {{{ 90 [[TicketBox(500pt, {1})]]91 [[TicketBox(200px, {1})]]92 [[TicketBox(25%, {1})]]91 [[TicketBox(500pt, {1})]] 92 [[TicketBox(200px, {1})]] 93 [[TicketBox(25%, {1})]] 93 94 }}} 94 95 95 96 You can specify the title. 96 The value should be surrounded by a single quote or a double quote.97 The value should be surrounded by a single quote (') or a double quote ("). 97 98 You can also embed the number of tickets by '%d' in title string like in the third example: 98 99 {{{ 99 [[TicketBox('Related Tickets', #1,#2)]]100 [[TicketBox("Related Tickets", #1,#2)]]101 [[TicketBox("There are %d tickets", {1})]]100 [[TicketBox('Related Tickets', #1, #2)]] 101 [[TicketBox("Related Tickets", #1, #2)]] 102 [[TicketBox("There are %d tickets", {1})]] 102 103 }}} 103 104 … … 106 107 If you want the ticket's summary to be displayed, use the `summary` keyword: 107 108 {{{ 108 [[TicketBox({1}, inline)]]109 [[TicketBox({1}, summary,inline)]]109 [[TicketBox({1}, inline)]] 110 [[TicketBox({1}, summary, inline)]] 110 111 }}} 111 112 112 `nowrap` forces no wrap of line. It is useful with summary option.113 The option `nowrap` forces the line not to wrap around the screen. It is useful with summary option. 113 114 If this option is specified, line length may exceeds specified `width`: 114 115 {{{ 115 [[TicketBox({1}, summary,nowrap)]]116 [[TicketBox({1}, summary, nowrap)]] 116 117 }}} 117 118 118 119 Text color, background color, border line color and float position can be specified: 119 120 {{{ 120 [[TicketBox({1}, float=left,color=green,background=transparent,border-color=red)]]121 [[TicketBox({1}, float=left, color=green, background=transparent, border-color=red)]] 121 122 }}} 122 123