Project

General

Profile

Actions

Patch #1700

open

Support for extra macros to help in move from trac

Added by Robert Shell over 16 years ago. Updated about 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-07-28
Due date:
% Done:

0%

Estimated time:

Description

With moving from trac needed some more macros for linking issues back to wiki pages to show queue sizes, new tickets waiting in a area etc. issue_list Lists Issues matching a list of given parameters

!{{issue_list(tracker,category,status,user,max) }}

issue_count, Count number of issues matching a set of filters (tracker,owner,category,status currently supported as filters)

!{{issue_count(tracker=xxx,category=xxx,status=xxxx) }}

issue_query: Same as issues_count be returns lists and not single count

!{{issue_query(tracker=dddd&category=dsdd&status=dddd&owner=ssss&max=10) }}

Also with more of wiki pages across had problems with lose of TitleIndex function so re-implement this for redmine. I Have added ability to create a number of styles of list.

title_list: Inserts an alphabetic list of all wiki pages into the output. Appears as a unordered list

{{title_list(title-prefix)}}

title_menu: Inserts an alphabetic menu (toc style) of all wiki pages into the output. This uses the toc css to produce a nice side menu to link groups of pages together.

{{title_menu(title-prefix,level,max,css-sytle)}}

title_bar: Inserts an alphabetic menu of all wiki pages into the output. This is basically aimed a across the screen menu with details menu currently styled as a table to our old trac navigation.

!{{title_bar(title-prefix,level,max,css-sytle)}}

title_index: title_index boxed up titles by letter to create a glossary or index. Use this for generation of a glossary and for larger indexes of pages.

!{{title_menu(title-prefix,columns,max)}}

__


Files

macros_patch.patch (14.2 KB) macros_patch.patch Patch for macros.rb to add extra macros Robert Shell, 2008-07-28 18:31
macros.rb (16.8 KB) macros.rb My local macro.rb file with extras Robert Shell, 2008-07-28 18:31
macros.rb (16.7 KB) macros.rb Robert Shell, 2008-11-08 16:33

Related issues

Related to Redmine - Feature #1226: query results on wiki pagesNew2008-05-12

Actions
Actions #1

Updated by Robert Shell over 16 years ago

Have a update of trac loader rake task to follow, just have a few more conversions to automate. Just dealing with n x trac to 1 redmine issues with ticket numbers.

Actions #2

Updated by Robert Shell about 16 years ago

Enhanged and fixes a number of the marcos.

Actions #3

Updated by Karl Heinz Marbaise about 16 years ago

Hi Robert,

take a look at #2114.

Kind regards
Karl Heinz Marbaise

Actions #4

Updated by Etienne Massip about 13 years ago

  • Subject changed from Support for extra macors to aid in move from trac to Support for extra macros to help in move from trac
Actions

Also available in: Atom PDF