[Mpuls-commits] r5682 - base/trunk/mpulsweb/templates/documents

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 1 13:39:40 CET 2011


Author: bricks
Date: 2011-12-01 13:39:35 +0100 (Thu, 01 Dec 2011)
New Revision: 5682

Modified:
   base/trunk/mpulsweb/templates/documents/case_overview.mako
   base/trunk/mpulsweb/templates/documents/global_overview.mako
Log:
Class should be used instead of id

id must be used if an html element is unique on the page


Modified: base/trunk/mpulsweb/templates/documents/case_overview.mako
===================================================================
--- base/trunk/mpulsweb/templates/documents/case_overview.mako	2011-12-01 12:32:06 UTC (rev 5681)
+++ base/trunk/mpulsweb/templates/documents/case_overview.mako	2011-12-01 12:39:35 UTC (rev 5682)
@@ -54,7 +54,7 @@
              >${ F.shorten(f.getName(),60) }
           </a>
           % if g.mpuls_config.is_enabled("module", "documents-description"):
-            <div id="description">${f.description}</div>
+            <div class="description">${f.description}</div>
           % endif
       </td>
       <td class="number_field">

Modified: base/trunk/mpulsweb/templates/documents/global_overview.mako
===================================================================
--- base/trunk/mpulsweb/templates/documents/global_overview.mako	2011-12-01 12:32:06 UTC (rev 5681)
+++ base/trunk/mpulsweb/templates/documents/global_overview.mako	2011-12-01 12:39:35 UTC (rev 5682)
@@ -44,7 +44,7 @@
            >${ F.shorten(f.getName(),60) }
         </a>
         % if g.mpuls_config.is_enabled("module", "documents-description"):
-          <div id="description">${f.description}</div>
+          <div class="description">${f.description}</div>
         % endif
     </td>
     <td class="number_field">



More information about the Mpuls-commits mailing list