fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13108]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13108]
Date: Tue, 28 Apr 2015 23:31:00 +0000

Revision: 13108
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13108
Author:   nelson224
Date:     2015-04-28 23:30:58 +0000 (Tue, 28 Apr 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/property/templates/base/invoice.xsl

Modified: branches/dev-syncromind/property/templates/base/invoice.xsl
===================================================================
--- branches/dev-syncromind/property/templates/base/invoice.xsl 2015-04-28 
23:30:40 UTC (rev 13107)
+++ branches/dev-syncromind/property/templates/base/invoice.xsl 2015-04-28 
23:30:58 UTC (rev 13108)
@@ -75,30 +75,35 @@
 
 <!-- New template-->
 <xsl:template match="remark">
-       <table width="100%" cellpadding="2" cellspacing="2" align="center">
-               <tr>
-                       <td colspan="2" align="center">
-                               <xsl:value-of select="message"/>
-                       </td>
-               </tr>
-               <tr>
-                       <td align="left">
-                               <xsl:choose>
-                                       <xsl:when test="html = ''">
-                                               <textarea cols="60" rows="15" 
name="remark" readonly="readonly">
-                                                       <xsl:attribute 
name="title">
-                                                               <xsl:value-of 
select="lang_content_statustext"/>
-                                                       </xsl:attribute>
-                                                       <xsl:value-of 
select="remark"/>
-                                               </textarea>
-                                       </xsl:when>
-                                       <xsl:otherwise>
-                                               <xsl:value-of 
disable-output-escaping="yes" select="remark"/>
-                                       </xsl:otherwise>
-                               </xsl:choose>
-                       </td>
-               </tr>
-       </table>
+       <dl>
+               <dt>
+                       <xsl:value-of select="message"/>
+               </dt>
+       </dl>
+       <div class="pure-control-group">
+               <xsl:choose>
+                       <xsl:when test="html = ''">
+                               <!--
+                               <textarea cols="60" rows="15" name="remark" 
readonly="readonly">
+                                       <xsl:attribute name="title">
+                                               <xsl:value-of 
select="lang_content_statustext"/>
+                                       </xsl:attribute>
+                                       <xsl:value-of select="remark"/>
+                               </textarea> -->
+                               <xsl:variable name="title">
+                                       <xsl:value-of 
select="lang_content_statustext"/>
+                               </xsl:variable>
+                               <div title="{$title}">
+                                       <xsl:value-of select="remark"/>
+                               </div>
+                       </xsl:when>
+                       <xsl:otherwise>
+                               <div>
+                                       <xsl:value-of 
disable-output-escaping="yes" select="remark"/>
+                               </div>
+                       </xsl:otherwise>
+               </xsl:choose>
+       </div>
 </xsl:template>
 
 <!-- New template-->




reply via email to

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