wiki:AllAttachmentsMacro

Version 3 (modified by rjollos, 5 years ago) (diff)

--

List all attachments on Trac site

Description

The AllAttachmentsMacro shows all attachments uploaded on a Trac site.

The attachments are displayed as a list of filenames, showing filesize, author and the source of the attachment (wikipage or ticket).

To download this Trac macro, go to http://stuq.nl/software/trac/AllAttachmentsMacro

Bugs/Feature Requests

Existing bugs and feature requests for AllAttachmentsMacro are here.

If you have any issues, create a new ticket.

Example

[[AllAttachments()]]		Show all attachments
[[AllAttachments(ticket)]]	Show the attachments that are linked to tickets
[[AllAttachments(wiki)]]	Show the attachments that are linked to wiki pages

Recent Changes

[14371] by rjollos on 2015-01-18 09:01:44
Fixed compatibility with Trac 1.1.2 and KeyError when milestone has attachments.
[14370] by rjollos on 2015-01-18 08:54:54
Created branch for Trac 1.0 and later.
[14369] by rjollos on 2015-01-18 08:54:32
PEP-0008 coding style changes.

Author/Contributors

Author: daan
Contributors: