fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13054]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13054]
Date: Tue, 21 Apr 2015 23:32:52 +0000

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


Added Paths:
-----------
    branches/dev-syncromind/property/templates/base/invoice_list_sub.xsl

Copied: branches/dev-syncromind/property/templates/base/invoice_list_sub.xsl 
(from rev 13048, branches/dev-syncromind/property/templates/base/invoice.xsl)
===================================================================
--- branches/dev-syncromind/property/templates/base/invoice_list_sub.xsl        
                        (rev 0)
+++ branches/dev-syncromind/property/templates/base/invoice_list_sub.xsl        
2015-04-21 23:32:51 UTC (rev 13054)
@@ -0,0 +1,43 @@
+<!-- $Id$ -->
+<xsl:template match="data">
+       <xsl:choose>
+               <xsl:when test="list_sub">
+                       <xsl:apply-templates select="list_sub"/>
+               </xsl:when>
+       </xsl:choose>
+</xsl:template>
+
+<xsl:template match="list_sub">
+       <xsl:call-template name="top-toolbar" />
+       <div>
+               <xsl:for-each select="datatable_def">
+                       <xsl:if test="container = 'datatable-container_0'">
+                               <xsl:call-template name="table_setup">
+                                       <xsl:with-param name="container" select 
='container'/>
+                                       <xsl:with-param name="requestUrl" 
select ='requestUrl' />
+                                       <xsl:with-param name="ColumnDefs" 
select ='ColumnDefs' />
+                                       <xsl:with-param name="tabletools" 
select ='tabletools' />
+                                       <xsl:with-param name="data" select 
='data' />
+                                       <xsl:with-param name="config" select 
='config' />
+                               </xsl:call-template>
+                       </xsl:if>
+               </xsl:for-each>
+       </div>
+</xsl:template>
+
+<xsl:template name="top-toolbar">
+       <div class="toolbar-container">
+               <div class="pure-g">
+                       <div class="pure-u-1-3">
+                               <xsl:for-each select="info">
+                                       <div><xsl:value-of 
select="name"/>:<xsl:value-of select="value"/></div>
+                               </xsl:for-each>
+                       </div>
+                       <div class="pure-u-2-3">
+                               <xsl:for-each select="top_toolbar">
+                                       <a class="pure-button 
pure-button-primary" href="{url}"><xsl:value-of select="value"/></a>            
                                  
+                               </xsl:for-each>
+                       </div>
+               </div>
+       </div>
+</xsl:template>
\ No newline at end of file




reply via email to

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