Changeset 1330

Show
Ignore:
Timestamp:
10/02/06 13:21:24 (2 years ago)
Author:
frido
Message:

RoadmapBoxMacro:

forgot the comments

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • roadmapboxmacro/RoadmapBox.py

    r1329 r1330  
    11""" 
    2 Display list of ticket numbers in a box on the right side of the page. 
    3 The purpose of this macro is show related tickets compactly. 
    4 You can specify ticket number or report number which would be expanded 
    5 as ticket numbers. Tickets will be displayed as sorted and uniq'ed. 
    62 
    7 Example: 
    8 {{{ 
    9 [[TicketBox(#1,#7,#31)]]               ... list of tickets 
    10 [[TicketBox(1,7,31)]]                  ... '#' char can be omitted 
    11 [[TicketBox({1})]]                     ... expand report result as ticket list 
    12 [[TicketBox([report:1])]]              ... alternate format of report 
    13 [[TicketBox([report:9?name=val])]]     ... report with dynamic variable 
    14 [[TicketBox({1),#50,{2},100)]]         ... convination of above 
    15 [[TicketBox(500pt,{1})]]               ... with box width as 50 point 
    16 [[TicketBox(200px,{1})]]               ... with box width as 200 pixel 
    17 [[TicketBox(25%,{1})]]                 ... with box width as 25% 
    18 [[TicketBox('Different Title',#1,#2)]] ... Specify title 
    19 [[TicketBox(\"Other Title\",#1,#2)]]     ... likewise 
    20 [[TicketBox('%d tickets',#1,#2)]]      ... embed ticket count in title 
    21 }}} 
     3Display a box with tickets concercing a certain Milestone AND Keyword. 
     4We use tagging to group certain keywords together based on featureset,  
     5since they might fall in different components. This is ideal in the 
     6Roadmap display, since it shows nice summary boxes of all open/closed  
     7tickets by keyword.  
    228 
    23 [wiki:TracReports#AdvancedReports:DynamicVariables Dynamic Variables]  
    24 is supported for report. Variables can be specified like 
    25 {{{[report:9?PRIORITY=high&COMPONENT=ui]}}}. Of course, the special 
    26 variable '{{{$USER}}}' is available. The login name (or 'anonymous) 
    27 is used as $USER if not specified explicitly. 
     9Syntax: 
     10 
     11[[RoadmapBox(keyword:Quickies;milestone:02-corecleanup)]] 
     12[[RoadmapBox(keyword:Bugfixes;milestone:02-corecleanup)]] 
     13[[RoadmapBox(keyword:Other;milestone:02-corecleanup)]] 
     14 
     15Created by: frido.ferdinand@gmail.com 
     16Based on: TicketBox 
     17 
    2818""" 
    2919