Skip to content
Snippets Groups Projects
Commit aa0682d1 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

sandbox print templates

add example as comment
parent 1602b772
Branches
Tags
5 merge requests!1132Hotline#29412 images des articles dans le resultat de recherche,!1120Master,!1079Dev #17782 merge print fusion,!1073Dev#17782 bonus 1 imprimer la liste des notices,!1062Sandbox fusion search result and print
......@@ -18,6 +18,20 @@
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/* example print template for agenda
<style type="text/css">@page {margin: 0;}
</style>
<div style="page-break-inside:auto;">{results.elements[
<div style="page-break-inside:avoid; page-break-after:auto;overflow:hidden;float:left; clear:both; padding: 20px; margin: 20px 0; border: 2px solid black;width:190mm;"><strong>Article: {titre}</strong><br />
dates: {debut}- {fin}<br />
{description}</div>
]}</div>
*/
class Class_ModeleFusionLoader extends Storm_Model_Loader {
public function getFusionForStrategy($strategy) {
return $this->findFirstBy(['nom' => $strategy]);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment