Lines 39-45
Link Here
|
39 |
[% SET slips = [{content => slip, is_html => !plain, style => style }] %] |
39 |
[% SET slips = [{content => slip, is_html => !plain, style => style }] %] |
40 |
[% END %] |
40 |
[% END %] |
41 |
[% FOR slip IN slips %] |
41 |
[% FOR slip IN slips %] |
42 |
[% IF slip.style %]<style>[% slip.style | $raw %]</style>[% END %] |
42 |
[% IF slip.style %]<style>[% slip.style.replace('[^{]+{', '#slip_' _ slip.id _ ' {') | $raw %]</style>[% END %] |
|
|
43 |
<div id="slip_[% slip.id | html %]"> |
43 |
[% UNLESS slip.is_html %] |
44 |
[% UNLESS slip.is_html %] |
44 |
<pre> |
45 |
<pre> |
45 |
[% IF ( slip.content ) %][% slip.content | html %][% ELSE %]No slip template found[% END %] |
46 |
[% IF ( slip.content ) %][% slip.content | html %][% ELSE %]No slip template found[% END %] |
Lines 47-52
Link Here
|
47 |
[% ELSE %] |
48 |
[% ELSE %] |
48 |
[% IF ( slip.content ) %][% slip.content | $raw %][% ELSE %]No slip template found[% END %] |
49 |
[% IF ( slip.content ) %][% slip.content | $raw %][% ELSE %]No slip template found[% END %] |
49 |
[% END %] |
50 |
[% END %] |
|
|
51 |
</div> |
50 |
[% IF slips.size > 1 && !loop.last%]<div class="pagebreak"></div>[% END %] |
52 |
[% IF slips.size > 1 && !loop.last%]<div class="pagebreak"></div>[% END %] |
51 |
[% END %] |
53 |
[% END %] |
52 |
|
54 |
|
53 |
- |
|
|