fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [15267] hide filter when empty


From: sigurdne
Subject: [Fmsystem-commits] [15267] hide filter when empty
Date: Wed, 8 Jun 2016 12:13:31 +0000 (UTC)

Revision: 15267
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15267
Author:   sigurdne
Date:     2016-06-08 12:13:30 +0000 (Wed, 08 Jun 2016)
Log Message:
-----------
hide filter when empty

Modified Paths:
--------------
    trunk/phpgwapi/templates/base/datatable_jquery.xsl

Modified: trunk/phpgwapi/templates/base/datatable_jquery.xsl
===================================================================
--- trunk/phpgwapi/templates/base/datatable_jquery.xsl  2016-06-07 15:34:39 UTC 
(rev 15266)
+++ trunk/phpgwapi/templates/base/datatable_jquery.xsl  2016-06-08 12:13:30 UTC 
(rev 15267)
@@ -88,15 +88,12 @@
                }
        </style>
        <div id="active_filters"></div>
-
-       <input class="toggle-box" id="header1" type="checkbox" />
-       <label for="header1">
-               <xsl:value-of select="php:function('lang', 'filter')"/>
-       </label>
-
-       <div id="toolbar" class='dtable_custom_controls'>
-               <!--xsl:if test="item/text and normalize-space(item/text)"-->
-               <xsl:if test="item">
+       <xsl:if test="item">
+               <input class="toggle-box" id="header1" type="checkbox" />
+               <label for="header1">
+                       <xsl:value-of select="php:function('lang', 'filter')"/>
+               </label>
+               <div id="toolbar" class='dtable_custom_controls'>
                        <table id="toolbar_table" class="pure-table 
pure-table-horizontal">
                                <thead>
                                        <tr>
@@ -339,8 +336,9 @@
                                        </xsl:for-each>
                                </tbody>
                        </table>
-               </xsl:if>
-       </div>
+               </div>
+       </xsl:if>
+
 </xsl:template>
 
 <xsl:template match="form/list_actions">




reply via email to

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