Noah Kantrowitz wrote: > http://trac-hacks.org/wiki/OhlohBadgeMacro > > Consider it a gift ;-)
Both brilliant and impressive! Thanks /Lars > Lars Stavholm wrote: >> Noah Kantrowitz wrote: >>> Making a semantically nice macro for this would take about 30 seconds, >>> and would probably be useful to other people. Sounds like a good reason >>> to reinvent the wheel to me. Which looks nicer to you, >>> [[SafeHTML(projectstats)]] or [[OhlohBadge(3052)]]. >> It's a good idea, no doubt (I kinda' like the OhlohBadge). >> But, I'm not fluent in python, and definitely not in Trac >> internals, so it might take you 30 seconds, but it will >> take me a whole lot longer. Not that I would mind really, >> good opportunity to learn I guess, but time is limited >> at the moment. >> >> The SafeHTML solution that I'm using now is a bit clumsy: >> >> [[SafeHtml(OhloBegin)]]3052[[SafeHtml(OhloEnd)]] >> >> ...not very nice, but works reasonably well for now. >> >> Thanks for your input. >> /Lars >> >> >> >> >> > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
