mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: equality check consistency
Updated all equality logic checks to use double == for consistency across the page.
This commit is contained in:
parent
d3a4161a94
commit
6aae3d7d05
@ -146,7 +146,7 @@ quotes, `kipper`, which is a **literal**. If true, the text inside the if-block
|
|||||||
is output.
|
is output.
|
||||||
|
|
||||||
:::ss
|
:::ss
|
||||||
<% if $MyDinner="kipper" %>
|
<% if $MyDinner=="kipper" %>
|
||||||
Yummy, kipper for tea.
|
Yummy, kipper for tea.
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
@ -159,7 +159,7 @@ This example shows the use of the `else` option. The markup after `else` is
|
|||||||
output if the tested condition is *not* true.
|
output if the tested condition is *not* true.
|
||||||
|
|
||||||
:::ss
|
:::ss
|
||||||
<% if $MyDinner="kipper" %>
|
<% if $MyDinner=="kipper" %>
|
||||||
Yummy, kipper for tea
|
Yummy, kipper for tea
|
||||||
<% else %>
|
<% else %>
|
||||||
I wish I could have kipper :-(
|
I wish I could have kipper :-(
|
||||||
@ -171,9 +171,9 @@ and the markup for that condition is used. If none of the conditions are true,
|
|||||||
the markup in the `else` clause is used, if that clause is present.
|
the markup in the `else` clause is used, if that clause is present.
|
||||||
|
|
||||||
:::ss
|
:::ss
|
||||||
<% if $MyDinner="quiche" %>
|
<% if $MyDinner=="quiche" %>
|
||||||
Real men don't eat quiche
|
Real men don't eat quiche
|
||||||
<% else_if $MyDinner=$YourDinner %>
|
<% else_if $MyDinner==$YourDinner %>
|
||||||
We both have good taste
|
We both have good taste
|
||||||
<% else %>
|
<% else %>
|
||||||
Can I have some of your chips?
|
Can I have some of your chips?
|
||||||
|
Loading…
Reference in New Issue
Block a user