Guten Tag Marcel Loose, am Montag, 31. Januar 2011 um 15:37 schrieben Sie: > I'm planning to upgrade our Bugzilla from 2.22 to 3.6. Therefore I'm > investigating how I should properly implement my original patch. The > problem is that my patch involves more than a few regex replacements as > you described in your mail for WebSVN support. Please have a look at the > patch: http://bugzilla.mkgnu.net/attachment.cgi?id=256 . > I'm not sure how I to mold this code into the template > Bugzilla/template/en/custom/bug/comments.html.tmpl. Any > ideas/suggestions are very welcome.
You can't directly patch your code into the templates, you need to follow the rules of Template Toolkit. In the end your patch is just alternatives and string concatenation, both supported directly in the templates. http://template-toolkit.org/docs/manual/Syntax.html#section_Block_Directives Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig Telefon: Potsdam: 0331-743881-0 E-Mail: [email protected] Web: http://www.am-soft.de AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
