[Bedework-commit] bedework r2102 - trunk/deployment/webadmin/webapp/resources/default/default

svnadmin at bedework.org svnadmin at bedework.org
Fri Mar 6 16:28:31 EST 2009


Author: johnsa
Date: 2009-03-06 16:28:31 -0500 (Fri, 06 Mar 2009)
New Revision: 2102

Modified:
   trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
Log:
admin client: include display and disabled flags on collection (calendar) forms

Modified: trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
===================================================================
--- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl	2009-03-06 16:14:19 UTC (rev 2101)
+++ trunk/deployment/webadmin/webapp/resources/default/default/default.xsl	2009-03-06 21:28:31 UTC (rev 2102)
@@ -3683,7 +3683,35 @@
               <xsl:attribute name="value"><xsl:value-of select="color"/></xsl:attribute>
             </input>
           </td>
-        </tr>
+        </tr>
+        <tr>
+          <th>Display:</th>
+          <td>
+            <input type="checkbox" name="calendar.display" size="40">
+              <xsl:if test="display = 'true'">
+                <xsl:attribute name="checked">checked</xsl:attribute>
+              </xsl:if>
+            </input> display items in this collection
+          </td>
+        </tr>
+        <tr>
+          <xsl:if test="disabled = 'true'">
+            <xsl:attribute name="class">disabled</xsl:attribute>
+          </xsl:if>
+          <th>Disabled:</th>
+          <td>
+            <input type="hidden" name="calendar.disabled" size="40">
+              <xsl:attribute name="value"><xsl:value-of select="disabled"/></xsl:attribute>
+            </input>
+            <xsl:value-of select="disabled"/>
+            <xsl:if test="disabled = 'true'">
+              <span class="disabledNote">
+                This item is inaccessible and has been disabled.  You may
+                re-enable it to try again.
+              </span>
+            </xsl:if>
+          </td>
+        </tr>
         <tr>
           <th>Filter Expression:</th>
           <td>



More information about the Bedework-commit mailing list