Feature #18143
closed
Snippet macros should support passing variables
Added by Marek Hulán almost 8 years ago.
Updated over 6 years ago.
Description
It would be good to have option to pass variables to snippets, otherwise it's impossible to reuse snippets with different variables with safe mode. E.g. we could have a snippet for rendering NIC configuration which repeats in the template several times.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4205 added
- Pull request https://github.com/theforeman/foreman/pull/4206 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 209
- Related to Bug #18227: Snippet with variables does not reset @vars after they finish in unsafe mode added
Also available in: Atom
PDF