Grantlee variable changes in 4.9.9 and later [was: Re: printing]
Robert Helling
helling at atdotde.de
Tue Dec 8 14:58:15 PST 2020
> On 8. Dec 2020, at 21:51, Robert Helling <helling at atdotde.de> wrote:
>
>
> actually, looking at the code, something like this might already be there: could you try
>
> {% for dive in dives %}
> {% for cyl in cylinders %}
> {{cyl.description}} {{ cylinder.gasMix }} {{ cyl.startPressure }} {{cylinder.endPressure }}
> {% endfor %}
> {% endfor %}
>
Of course, it didn’t because it was never tested, but I think I fixed it in
https://github.com/subsurface/subsurface/pull/3098 <https://github.com/subsurface/subsurface/pull/3098>
With that, in my examples, it works.
Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20201208/1156f343/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20201208/1156f343/attachment.sig>
More information about the subsurface
mailing list