Changes between Version 9 and Version 10 of WikiTicketCalendarMacro


Ignore:
Timestamp:
Nov 27, 2008, 6:29:40 PM (6 years ago)
Author:
debacle@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiTicketCalendarMacro

    v9 v10  
    3131Excerpt of the source documentation:
    3232{{{
    33 # format:
    34 #   WikiTicketCalendar([year,month,[showbuttons,[wiki_page_format]]])
    35 #
    36 #   displays a calendar, the days link to:
    37 #     - milestones (day in bold) if there is one on that day
    38 #     - a wiki page that has wiki_page_format (if exist)
    39 #     - create that wiki page if it does not exist
    40 #
    41 # arguments:
    42 #   year, month = display calendar for month in year ('*' for current year/month)
    43 #   showbuttons = true/false, show prev/next buttons
    44 #   wiki_page_format = strftime format for wiki pages to display as link
    45 #                      (if there is not a milestone placed on that day)
    46 #                      (if exist, otherwise link to create page)
    47 #                      default is "%Y-%m-%d"
    48 #
    49 # examples:
    50 #     WikiTicketCalendar(2006,07)
    51 #     WikiTicketCalendar(2006,07,false)
    52 #     WikiTicketCalendar(*,*,true,Meeting-%Y-%m-%d)
    53 #     WikiTicketCalendar(2006,07,false,Meeting-%Y-%m-%d)
     33  Activate it in 'trac.ini'
     34
     35  [components]
     36  WikiTicketCalendarMacro.* = enabled
     37
     38
     39  format:
     40    WikiTicketCalendar([year,month,[showbuttons,[wiki_page_format,
     41        [show_ticket_open_dates]]]])
     42
     43    displays a calendar, the days link to:
     44     - milestones (day in bold) if there is one on that day
     45     - a wiki page that has wiki_page_format (if exist)
     46     - create that wiki page if it does not exist
     47
     48  arguments:
     49    year, month = display calendar for month in year ('*' for current year/month)
     50    showbuttons = true/false, show prev/next buttons
     51    wiki_page_format = strftime format for wiki pages to display as link
     52                       (if there is not a milestone placed on that day)
     53                       (if exist, otherwise link to create page)
     54                       default is "%Y-%m-%d", '*' for default
     55    show_ticket_open_dates = true/false, show also when a ticket was opened
     56
     57  examples:
     58    WikiTicketCalendar(2006,07)
     59    WikiTicketCalendar(2006,07,false)
     60    WikiTicketCalendar(*,*,true,Meeting-%Y-%m-%d)
     61    WikiTicketCalendar(2006,07,false,Meeting-%Y-%m-%d)
     62    WikiTicketCalendar(2006,07,true,*,true)
    5463}}}
    5564