1

and if condition with or conditions を書きたい:

[% IF  bug.product == 'CustomerCare' or bug.product =='Alerts' or bug.product =='Chatlog' %]
<tr><td colspan="2">   <h3 align="center">Have you verified the Checklist ?</h3></td></tr>

<tr> 
    <td>  
        <input type="checkbox" id="chck1" name="greet" value="1" [% FOREACH gre =  chk_greet%] checked [% END%] /> 
    </td>

    <td> 
        <label for = "chck1">  Greet the customer ?</label> 
    </td>
</tr>

<tr>
    <td> <input type="checkbox" id="chck2" name="issue_status" value="1" [% FOREACH iss =  chk_issustat%] checked [% END%] /> 
    </td>
    <td> <label for = "chck2">Issue under concern and its status (whether resolved or not)</label> </td> 
</tr>

<tr> 
    <td> 
        <input type="checkbox" id="chck3" name="done_fix" value="1" [% FOREACH don = chk_done%] checked [% END%] [% END %]/> 
    </td> 
</tr> 

この条件を記述する正しい形式は何ですか?

4

2 に答える 2

4

詳細なマニュアルをお読みください。あなたのケースの例が含まれています。

[% IF (bug.product == 'CustomerCare') || (bug.product =='Alerts') ... %]
于 2013-05-26T09:41:10.013 に答える