Author: michiel
Date: 2009-06-03 00:13:09 +0200 (Wed, 03 Jun 2009)
New Revision: 35590

Modified:
   mmbase/trunk/html/mmbase/admin/index.jsp
Log:
Show a warning if a block is marked 'unfinished'

Modified: mmbase/trunk/html/mmbase/admin/index.jsp
===================================================================
--- mmbase/trunk/html/mmbase/admin/index.jsp    2009-06-02 22:12:35 UTC (rev 
35589)
+++ mmbase/trunk/html/mmbase/admin/index.jsp    2009-06-02 22:13:09 UTC (rev 
35590)
@@ -124,6 +124,11 @@
              <div id="content">
               <c:catch var="exception">
                 <h2 class="top">${mm:escape('text/xml', 
mm:string(blockObject.title))}</h2>
+                <c:forEach items="${blockObject.classification}" var="clazz">
+                  <c:if test="${clazz.name eq 'unfinished'}">
+                    <h2 class="top unfinished">Warning. This block is marked 
'unfinished', so it probably is not working correctly yet.</h2>
+                  </c:if>
+                </c:forEach>
                 <mm:component debug="xml" name="$component" block="${block}">
                   <mm:frameworkparam 
name="category">${category}</mm:frameworkparam>
                 </mm:component>

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to