-
Type: Feature Request
-
Status: New
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Template System
-
Labels:None
-
External issue URL:
-
Change Log Message:New "less_than" and "greater_than" functionality for IF tag
-
Story Points:1
-
External issue ID:863
-
Copy Issue Key:
-
Patch Instructions:
In-Portal has <inp2:m_if tag, that allows to display template parts based on a condition, e.g.
<inp2:m_if check="prefix_TagName">
show something
</inp2:m_if>
Text "show something" will be visible only, when tag "TagName" of prefix
"prefix" will return true.
Also, that <inp2:m_if tag has universal parameter called "equals_to", that allows to compare any tag result to given value list (multiple values can be separated using |, e.g. "value1|value2|value3").
Proposed new functionality:
1. add "greater_than" and "less_than" parameters + their processing
2. move that 3 parameters ("greater_than", "less_than" and "equals_to") processing into compiled template code, so we have no to check for their presence during each tag processing.
- mentioned in
-
Page Loading...