tickets: 9757
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9757 | 2008-12-04 17:50:47 | 2013-06-05 20:40:36 | 2022-03-06 03:45:36.949319 | Accepted | new | Template system | Cleanup/optimization | Normal | 1.0 | Make IfNode a baseclass for other if nodes to subclass | Right now any other `if` type node that wants to exist needs to re-implement all the rendering logic of the if tag, in addition to the conditional it wants to use. To simplify this we could make IfNode do all of the logic to determine whether it evalueates true or not into a seperate method, and then subclasses could just overide the __init__ and that mehtod. | nobody | Alex | 0 | 0 | 0 | 0 | 0 | 0 |