Edgewall Software

Changes between Version 102 and Version 103 of MacroBazaar


Ignore:
Timestamp:
Jul 9, 2005, 3:15:39 PM (19 years ago)
Author:
Shun-ichi Goto <gotoh@…>
Comment:

TicketBox.py is revised to support dynamic variables.

Legend:

Unmodified
Added
Removed
Modified
  • MacroBazaar

    v102 v103  
    564564Example:
    565565{{{
    566 [[TicketBox(#1,#7,#31)]]       ... list of tickets
    567 [[TicketBox(1,7,31)]]          ... '#' char can be omitted
    568 [[TicketBox({1})]]             ... expand report result as ticket list
    569 [[TicketBox({1),#50,{2},100)]] ... convination of above
    570 [[TicketBox(500pt,{1})]]       ... with box width as 50 point
    571 [[TicketBox(200px,{1})]]       ... with box width as 200 pixel
    572 [[TicketBox(25%,{1})]]         ... with box width as 25%
     566[[TicketBox(#1,#7,#31)]]               ... list of tickets
     567[[TicketBox(1,7,31)]]                  ... '#' char can be omitted
     568[[TicketBox({1})]]                     ... expand report result as ticket list
     569[[TicketBox([report:1])]]              ... alternate format of report
     570[[TicketBox([report:9?name=val])]]     ... report with dynamic variable
     571[[TicketBox({1),#50,{2},100)]]         ... convination of above
     572[[TicketBox(500pt,{1})]]               ... with box width as 50 point
     573[[TicketBox(200px,{1})]]               ... with box width as 200 pixel
     574[[TicketBox(25%,{1})]]                 ... with box width as 25%
    573575[[TicketBox('Different Title',#1,#2)]] ... Use different title
    574576[[TicketBox("Other Title",#1,#2)]]     ... likewise
    575577}}}
    576578
    577 [[BR]]Download: http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/TicketBox.2.py
     579[wiki:TracReports#AdvancedReports:DynamicVariables Dynamic Vaiables]
     580is supported for report. Variables can be specified like
     581{{{[report:9?PRIORITY=high&COMPONENT=ui]}}}. Of course, the special
     582variable '{{{$USER}}}' is available.
     583
     584[[BR]]Download: http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/TicketBox.3.py
    578585[[BR]]''By:'' Shun-ichi Goto <gotoh@taiyo.co.jp>
    579586[[BR]]''Version:'' >= 0.8 (also 0.9pre)
    580 [[BR]]''Revised:'' 2005/07/07
     587[[BR]]''Revised:'' 2005/07/09
    581588
    582589
     
    593600   * Good idea. I've implemented and attached. See above. (gotoh)
    594601 * Request: Extend the !TicketBox macro so that it can display tickets returned by a ticket report using dynamic variables. Example: {{{[[TicketBox(200px,'Active Tickets',[report:11?COMPONENT=name])]]}}}
     602   * Ok, implemented. See above. (gotoh)
    595603 * Request: Binding of the [http://www.nv-l.org/twiki/bin/view/Plugins/TWikiDrawPlugin TWikiDraw] to Trac. Example: drawing:foo
    596604