[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [10165] do not display attribute checkbox if category
From: |
Erik Holm-Larsen |
Subject: |
[Fmsystem-commits] [10165] do not display attribute checkbox if category is not selected when creating new type requirement |
Date: |
Tue, 09 Oct 2012 07:12:11 +0000 |
Revision: 10165
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10165
Author: erikhl
Date: 2012-10-09 07:12:10 +0000 (Tue, 09 Oct 2012)
Log Message:
-----------
do not display attribute checkbox if category is not selected when creating new
type requirement
Modified Paths:
--------------
trunk/logistic/templates/base/bim_type_requirement_item.xsl
Modified: trunk/logistic/templates/base/bim_type_requirement_item.xsl
===================================================================
--- trunk/logistic/templates/base/bim_type_requirement_item.xsl 2012-10-09
06:26:28 UTC (rev 10164)
+++ trunk/logistic/templates/base/bim_type_requirement_item.xsl 2012-10-09
07:12:10 UTC (rev 10165)
@@ -74,9 +74,9 @@
</dt>
<dd>
<div
id="attributes">
- <xsl:if
test="attributes != null">
-
<xsl:if test="req_type/cust_attribute_id">
-
<xsl:for-each select="attributes">
+ <xsl:if
test="req_type/cust_attribute_id">
+
<xsl:for-each select="attributes">
+
<xsl:if test="input_text">
<xsl:choose>
<xsl:when test="checked">
<input type='checkbox' name='attributes[]'
id='attributes[]' value='{id}' checked='checked'/><xsl:value-of
select="input_text" /> <xsl:value-of select="trans_datatype" /><br/>
@@ -85,8 +85,8 @@
<input type='checkbox' name='attributes[]'
id='attributes[]' value='{id}'/><xsl:value-of select="input_text" />
<xsl:value-of select="trans_datatype" /><br/>
</xsl:otherwise>
</xsl:choose>
-
</xsl:for-each>
-
</xsl:if>
+
</xsl:if>
+
</xsl:for-each>
</xsl:if>
</div>
</dd>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [10165] do not display attribute checkbox if category is not selected when creating new type requirement,
Erik Holm-Larsen <=