Project

General

Profile

Actions

Feature #18143

closed

Snippet macros should support passing variables

Added by Marek Hulán almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #18227: Snippet with variables does not reset @vars after they finish in unsafe modeClosedMarek Hulán01/24/2017Actions
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4205 added
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Pull request https://github.com/theforeman/foreman/pull/4206 added
Actions #3

Updated by Anonymous almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release set to 209
Actions #5

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #18227: Snippet with variables does not reset @vars after they finish in unsafe mode added
Actions

Also available in: Atom PDF