Author: andre
Date: 2010-07-03 13:57:32 +0200 (Sat, 03 Jul 2010)
New Revision: 42796

Modified:
   openimages/trunk/src/main/webapp/editors/edit.jspx
Log:
show row when not played yet


Modified: openimages/trunk/src/main/webapp/editors/edit.jspx
===================================================================
--- openimages/trunk/src/main/webapp/editors/edit.jspx  2010-07-02 11:32:46 UTC 
(rev 42795)
+++ openimages/trunk/src/main/webapp/editors/edit.jspx  2010-07-03 11:57:32 UTC 
(rev 42796)
@@ -179,6 +179,7 @@
                     <mm:sortorder field="created" direction="DOWN" />
                     
                     <table class="stats shorten" summary="Statistics for this 
node" border="0" cellspacing="0" cellpadding="3">
+                      <caption>Times a media item has been played 
monthly.</caption>
                       <thead>
                         <tr>
                           <th>date</th>
@@ -188,7 +189,7 @@
                       <tfoot>
                         <tr>
                           <th colspan="2">
-                            <mm:size write="false">
+                            <mm:size id="row_count" write="false">
                               <c:if test="${_ gt 10}">
                                 <a class="showrest" 
href="#show-rest">Show/hide more</a>
                               </c:if>
@@ -214,6 +215,12 @@
                             </td>
                           </tr>
                         </mm:relatednodes>
+                        <c:if test="${empty row_count or row_count == 0}">
+                          <tr class="${oddeven}">
+                            <td class="date">Not played yet</td>
+                            <td class="total">0</td>
+                          </tr>
+                        </c:if>
                       </tbody>
                     </table>
                   </mm:relatednodescontainer>

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

Reply via email to