summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TConditional/Home.page
blob: 50f7bbb454ca34a2a0b0af0a3aeb8d2651685cc2 (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.2.0'">
<prop:TrueTemplate>
  <com:TLabel Text="You are using PRADO 3.2.0" />
</prop:TrueTemplate>
<prop:FalseTemplate>
  <com:TLabel Text="You are using PRADO <%= Prado::getVersion() %>" />
</prop:FalseTemplate>
</com:TConditional>

</com:TContent>