blob: e7c6b24a6cd89976365d51674d2c4cc40fb5da73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<com:TContent ID="body">
<h1>TConditional Samples</h1>
<com:TConditional Condition="Prado::getVersion()==='3.1.1'">
<prop:TrueTemplate>
<com:TLabel Text="You are using PRADO 3.1.1" />
</prop:TrueTemplate>
<prop:FalseTemplate>
<com:TLabel Text="You are using PRADO <%= Prado::getVersion() %>" />
</prop:FalseTemplate>
</com:TConditional>
</com:TContent>
|