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

</com:TContent>