Ticket #575 (closed enhancement: fixed)

Opened 10 months ago

Last modified 10 months ago

Add conditional children tags

Reported by: nelstrom Assigned to: nelstrom
Priority: minor Milestone:
Component: Keywords:
Cc:

Description

The tags <r:if_parent /> and <r:unless_parent /> test whether or not a page has a parent. For the purposes of making a sitemap which validates, I have found a need to test whether or not a page has a child. Require equivalent tags, e.g.:

<r:if_children /> and <r:unless_children />

Attachments

add_conditional_children_tags.diff (2.8 kB) - added by nelstrom on 11/09/07 12:46:50.
Create <r:if_children /> and <r:unless_children /> tags, with tests, and one additional page fixture "childless".

Change History

11/09/07 12:45:39 changed by nelstrom

  • status changed from new to assigned.

11/09/07 12:46:50 changed by nelstrom

  • attachment add_conditional_children_tags.diff added.

Create <r:if_children /> and <r:unless_children /> tags, with tests, and one additional page fixture "childless".

11/09/07 12:48:25 changed by nelstrom

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

11/10/07 09:22:31 changed by seancribbs

  • status changed from closed to reopened.
  • resolution deleted.

11/10/07 09:39:55 changed by seancribbs

  • status changed from reopened to closed.
  • resolution set to fixed.

Resolved with modifications in r594.