Ticket #793 (closed enhancement: fixed)

Opened 6 months ago

Last modified 4 months ago

Assigning of "inner" content to $slots template array should be configurable

Reported by: david Owned by: david
Priority: normal Milestone: 0.11.3
Component: filter Version:
Severity: minor Keywords:
Cc: Patch attached: no

Description (last modified by david) (diff)

Since there is $inner with the current rendering result available in templates, it makes not much sense to also have this previous layer's output in the $slots array, it's just legacy.

Not having $slots['<layername>'] also means iterating over $slots is easier :>

We need to introduce a configuration parameter for the execution filter that enables this functionality (and defaults to on for 0.11, off for 1.0, see #794)

Attachments

Change History

Changed 6 months ago by david

  • summary changed from Do not put inner content into the slots array by default to Assigning of "inner" content to slots should be configurable
  • description modified (diff)
  • milestone changed from 1.0 to 0.11.3

Changed 6 months ago by david

  • type changed from task to enhancement

Changed 6 months ago by david

  • status changed from new to assigned
  • summary changed from Assigning of "inner" content to slots should be configurable to Assigning of "inner" content to $slots template array should be configurable

Changed 6 months ago by david

  • description modified (diff)

Changed 6 months ago by david

  • description modified (diff)

Changed 6 months ago by david

  • status changed from assigned to closed
  • resolution set to fixed

(In [2610]) Made assigning of "inner" content to $slots template array configurable, closes #793

Changed 6 months ago by david

(In [2612]) Changed default for assigning of "inner" content to $slots template array to disabled, closes #794 and refs #793

Changed 4 months ago by david

(In [2736]) Fixed changelog entry for [2610], refs #793

Add/Change #793 (Assigning of "inner" content to $slots template array should be configurable)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.