fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [14941] property: update


From: Sigurd Nes
Subject: [Fmsystem-commits] [14941] property: update
Date: Tue, 26 Apr 2016 12:03:08 +0000

Revision: 14941
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14941
Author:   sigurdne
Date:     2016-04-26 12:03:08 +0000 (Tue, 26 Apr 2016)
Log Message:
-----------
property: update

Modified Paths:
--------------
    trunk/property/templates/base/workorder.xsl

Modified: trunk/property/templates/base/workorder.xsl
===================================================================
--- trunk/property/templates/base/workorder.xsl 2016-04-26 11:02:40 UTC (rev 
14940)
+++ trunk/property/templates/base/workorder.xsl 2016-04-26 12:03:08 UTC (rev 
14941)
@@ -575,17 +575,17 @@
                                                <input type="text" 
id="service_name" name="values[service_name]" value="{value_service_name}">
                                                        <xsl:choose>
                                                                <xsl:when 
test="mode='edit'">
-                                                                       
<xsl:attribute name="data-validation">
+                                                                       
<!--xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
+                                                                       
<xsl:attribute name="data-validation-error-msg">
+                                                                               
<xsl:value-of select="$lang_service"/>
+                                                                       
</xsl:attribute-->
                                                                </xsl:when>
-                                                               <xsl:otherwise 
test="mode='edit'">
+                                                               <xsl:otherwise>
                                                                        
<xsl:attribute name="disabled">
                                                                                
<xsl:text>disabled</xsl:text>
                                                                        
</xsl:attribute>
-                                                                       
<xsl:attribute name="data-validation-error-msg">
-                                                                               
<xsl:value-of select="$lang_service"/>
-                                                                       
</xsl:attribute>
                                                                </xsl:otherwise>
                                                        </xsl:choose>
                                                </input>
@@ -607,6 +607,9 @@
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
+                                                                       
<xsl:attribute name="data-validation-error-msg">
+                                                                               
<xsl:value-of select="$lang_dimb"/>
+                                                                       
</xsl:attribute>
                                                                        
<xsl:choose>
                                                                                
<xsl:when test="project_ecodimb !=''">
                                                                                
        <xsl:attribute name="disabled">
@@ -619,9 +622,6 @@
                                                                        
<xsl:attribute name="disabled">
                                                                                
<xsl:text>disabled</xsl:text>
                                                                        
</xsl:attribute>
-                                                                       
<xsl:attribute name="data-validation-error-msg">
-                                                                               
<xsl:value-of select="$lang_dimb"/>
-                                                                       
</xsl:attribute>
                                                                </xsl:otherwise>
                                                        </xsl:choose>
                                                </input>
@@ -641,14 +641,14 @@
                                                                        
<xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
+                                                                       
<xsl:attribute name="data-validation-error-msg">
+                                                                               
<xsl:value-of select="$lang_budget_account"/>
+                                                                       
</xsl:attribute>
                                                                </xsl:when>
-                                                               <xsl:otherwise 
test="mode='edit'">
+                                                               <xsl:otherwise>
                                                                        
<xsl:attribute name="disabled">
                                                                                
<xsl:text>disabled</xsl:text>
                                                                        
</xsl:attribute>
-                                                                       
<xsl:attribute name="data-validation-error-msg">
-                                                                               
<xsl:value-of select="$lang_budget_account"/>
-                                                                       
</xsl:attribute>
                                                                </xsl:otherwise>
                                                        </xsl:choose>
                                                </input>
@@ -666,18 +666,17 @@
                                                <input type="text" 
id="unspsc_code_name" name="values[unspsc_code_name]" 
value="{value_unspsc_code} {value_unspsc_code_name}">
                                                        <xsl:choose>
                                                                <xsl:when 
test="mode='edit'">
-                                                                       
<xsl:attribute name="data-validation">
+                                                                       
<!--xsl:attribute name="data-validation">
                                                                                
<xsl:text>required</xsl:text>
                                                                        
</xsl:attribute>
+                                                                       
<xsl:attribute name="data-validation-error-msg">
+                                                                               
<xsl:value-of select="$lang_unspsc_code"/>
+                                                                       
</xsl:attribute-->
                                                                </xsl:when>
-                                                               <xsl:otherwise 
test="mode='edit'">
+                                                               <xsl:otherwise>
                                                                        
<xsl:attribute name="disabled">
                                                                                
<xsl:text>disabled</xsl:text>
                                                                        
</xsl:attribute>
-                                                                       
<xsl:attribute name="data-validation-error-msg">
-                                                                               
<xsl:value-of select="$lang_unspsc_code"/>
-                                                                       
</xsl:attribute>
-
                                                                </xsl:otherwise>
                                                        </xsl:choose>
                                                </input>




reply via email to

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