fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17309] controller: fix logic check in template


From: sigurdne
Subject: [Fmsystem-commits] [17309] controller: fix logic check in template
Date: Wed, 15 Nov 2017 03:53:35 -0500 (EST)

Revision: 17309
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17309
Author:   sigurdne
Date:     2017-11-15 03:53:35 -0500 (Wed, 15 Nov 2017)
Log Message:
-----------
controller: fix logic check in template

Modified Paths:
--------------
    trunk/controller/templates/base/check_list/edit_check_list.xsl

Modified: trunk/controller/templates/base/check_list/edit_check_list.xsl
===================================================================
--- trunk/controller/templates/base/check_list/edit_check_list.xsl      
2017-11-15 08:25:05 UTC (rev 17308)
+++ trunk/controller/templates/base/check_list/edit_check_list.xsl      
2017-11-15 08:53:35 UTC (rev 17309)
@@ -17,7 +17,7 @@
                        <form id="frm_update_check_list" action="{$action_url}" 
method="post">  
                        <xsl:variable name="check_list_id"><xsl:value-of 
select="check_list/id"/></xsl:variable>
                        <input id="check_list_id" type="hidden" 
name="check_list_id" value="{$check_list_id}" />
-                       <xsl:if test="check_list_locked">
+                       <xsl:if test="check_list_locked = '1'">
                                <div class='input_error_msg'>
                                        <xsl:value-of 
select="php:function('lang', 'error_msg_control_passed_due_date')" />
                                </div>
@@ -148,7 +148,7 @@
                                </textarea>
                        </div>
                        
-                       <xsl:if test="check_list_locked = 'true'">
+                       <xsl:if test="check_list_locked != '1'">
                                <div class="form-buttons">
                                        <xsl:variable 
name="lang_save"><xsl:value-of select="php:function('lang', 'save_check_list')" 
/></xsl:variable>
                                        <input class="btn" type="submit" 
name="save_control" value="Lagre detaljer" />




reply via email to

[Prev in Thread] Current Thread [Next in Thread]