Changes between Initial Version and Version 1 of Ticket #2781, comment 2
- Timestamp:
- Jun 24, 2010, 6:18:56 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2781, comment 2
initial v1 2 2 3 3 trac/wiki/web_ui.py: 4 4 {{{ 5 5 411a412 6 6 > context = Context.from_request(req, page.resource) 7 7 416a418 8 8 > 'attachments': AttachmentModule(self.env).attachment_data(context), 9 9 {{{ 10 10 11 11 trac/wiki/templates/wiki_edit.html: 12 12 {{{ 13 13 89a90 14 14 > ${list_of_attachments(attachments, compact=True)} 15 15 }}} 16 16 This will add the list of attachments (same as the one on the view wiki page) to the edit wiki page.