fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10604] property: move location form


From: Sigurd Nes
Subject: [Fmsystem-commits] [10604] property: move location form
Date: Mon, 17 Dec 2012 11:48:32 +0000

Revision: 10604
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10604
Author:   sigurdne
Date:     2012-12-17 11:48:32 +0000 (Mon, 17 Dec 2012)
Log Message:
-----------
property: move location form

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

Modified: trunk/property/templates/base/request.xsl
===================================================================
--- trunk/property/templates/base/request.xsl   2012-12-17 07:50:53 UTC (rev 
10603)
+++ trunk/property/templates/base/request.xsl   2012-12-17 11:48:32 UTC (rev 
10604)
@@ -173,24 +173,6 @@
                                                                                
<dd>
                                                                                
        <xsl:value-of select="value_request_id"/>
                                                                                
</dd>
-                                                                               
<xsl:choose>
-                                                                               
        <xsl:when test="mode ='edit'">
-                                                                               
                <xsl:call-template name="location_form2"/>
-                                                                               
        </xsl:when>
-                                                                               
        <xsl:otherwise>
-                                                                               
                <xsl:call-template name="location_view2"/>
-                                                                               
                <xsl:choose>
-                                                                               
                        <xsl:when test="contact_phone !=''">
-                                                                               
                                <dt><label>
-                                                                               
                                        <xsl:value-of 
select="lang_contact_phone"/>
-                                                                               
                                </label></dt>
-                                                                               
                                <dd>
-                                                                               
                                        <xsl:value-of select="contact_phone"/>
-                                                                               
                                </dd>                                           
                                        
-                                                                               
                        </xsl:when>
-                                                                               
                </xsl:choose>
-                                                                               
        </xsl:otherwise>
-                                                                               
</xsl:choose>
                                                                        
                                                                                
<dt><label>
                                                                                
        <xsl:value-of select="php:function('lang', 'entry date')"/>
@@ -293,6 +275,26 @@
                                                                        </dd>
                                                                
                                                        </xsl:for-each>
+
+                                                       <xsl:choose>
+                                                               <xsl:when 
test="mode ='edit'">
+                                                                       
<xsl:call-template name="location_form2"/>
+                                                               </xsl:when>
+                                                               <xsl:otherwise>
+                                                                       
<xsl:call-template name="location_view2"/>
+                                                                       
<xsl:choose>
+                                                                               
<xsl:when test="contact_phone !=''">
+                                                                               
        <dt><label>
+                                                                               
                <xsl:value-of select="lang_contact_phone"/>
+                                                                               
        </label></dt>
+                                                                               
        <dd>
+                                                                               
                <xsl:value-of select="contact_phone"/>
+                                                                               
        </dd>                                                                   
                
+                                                                               
</xsl:when>
+                                                                       
</xsl:choose>
+                                                               </xsl:otherwise>
+                                                       </xsl:choose>
+
                                                        <xsl:variable 
name="lang_request_title">
                                                                <xsl:value-of 
select="php:function('lang', 'enter request title')"/>
                                                        </xsl:variable>




reply via email to

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