[Alba-desarrollo] SVN Alba r6223 - in prosistem/alba/trunk/alba: apps/principal/modules/informes/templates web/css

commits en pressenter.com.ar commits en pressenter.com.ar
Lun Jun 8 22:10:09 CEST 2009


Author: josx
Date: 2009-06-08 17:10:09 -0300 (Mon, 08 Jun 2009)
New Revision: 6223

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/boletinListadoSuccess.php
   prosistem/alba/trunk/alba/web/css/main.css
Log:
Agregando salto de linea para el listado de boletines

Modified: prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/boletinListadoSuccess.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/boletinListadoSuccess.php	2009-06-08 19:59:52 UTC (rev 6222)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/templates/boletinListadoSuccess.php	2009-06-08 20:10:09 UTC (rev 6223)
@@ -1,5 +1,12 @@
 <?php
+    $i = 0;
     foreach($checks as $alumno_id => $division_id) { 
+        $h = ++$i%2;
         include_component('boletin','mostrar', array( 'alumno_id' => $alumno_id, 'division_id' => $division_id));
+        if($h == 0) {
+?>
+        <div class="pageBreak" />
+<?
+        }
     }
 ?>

Modified: prosistem/alba/trunk/alba/web/css/main.css
===================================================================
--- prosistem/alba/trunk/alba/web/css/main.css	2009-06-08 19:59:52 UTC (rev 6222)
+++ prosistem/alba/trunk/alba/web/css/main.css	2009-06-08 20:10:09 UTC (rev 6223)
@@ -128,3 +128,5 @@
   z-index: 900;
   background: url(../images/indicator.gif) no-repeat 0 0;
 }
+
+div.pageBreak { page-break-before: always; }




Más información sobre la lista de distribución Alba-desarrollo