Invenzzia »

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Tasklist

FS#36 - XSLT if / section syntax

Attached to Project: Open Power Template
Opened by Damian Nowak (Nowaker) - Sunday, 28 December 2008, 04:15 GMT-8
Last edited by Zyx (Zyx) - Wednesday, 12 May 2010, 13:55 GMT-8
Task Type Feature Request
Category Compiler
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Low
Priority Normal
Reported Version 2.0-dev8
Due in Version 2.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Allow XSLT-like syntax:

<opt:if>
<opt:if-else="...">
true
</opt:if-else>
<opt:else="...">
false
</opt:else>
</opy:if>
This task depends upon

Closed by  Zyx (Zyx)
Wednesday, 12 May 2010, 13:55 GMT-8
Reason for closing:  Implemented
Additional comments about closing:  Implemented.
Comment by Zyx (Zyx) - Monday, 29 December 2008, 01:12 GMT-8
Will be implemented somewhere in one of future 2.0.x releases.
Comment by Jacek Jędrzejewski (eXtreme) - Monday, 19 January 2009, 07:00 GMT-8
Shouldn't it be done in 2.1 branch? It is a new "feature", isn't 2.0 frozen for features?
Comment by Zyx (Zyx) - Thursday, 15 April 2010, 02:49 GMT-8
Implementation as:

~~~~
<opt:if>
<opt:condition test="..."> ... </opt:condition>
<opt:condition test="..."> ... </opt:condition>
<opt:condition test="..."> ... </opt:condition>
</opt:if>
~~~~

will appear in OPT 2.1.0

Loading...