Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11185, comment 2


Ignore:
Timestamp:
Feb 23, 2016, 2:12:30 AM (4 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11185, comment 2

    initial v1  
    1 The macro would return something like `<div id="tq13579" class="trac-ticketquery-placeholder"/>`, add javascript data under the same id, and add a javascript script which will replace all the `div.trac-ticketquery-placeholder` with HTML generated on the fly from the data. I think that using CoffeeScript for this task could be particularly convenient (multiline strings with Ruby-style embedded expressions).
     1The macro would return something like `<div id="tq13579" class="trac-ticketquery-placeholder"/>`, add javascript data under the same id, and add a javascript script which will replace all the `div.trac-ticketquery-placeholder` with HTML generated on the fly from the data. I think that using [TracDev/CoffeeScript CoffeeScript] for this task could be particularly convenient (multiline strings with Ruby-style embedded expressions).