← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~sam92/openlp/bug-1695620 into lp:openlp

 

> Do you think it's plausible to just use string formatting or string templating?

Hm while that would allow adding a bit of markup around the strings, you can't add any control structures.

With mako you can do much more, e.g. concatenate multiple authors into one line (as we do using join), display them each on it own line.

The use case I'm especially interested in: Pick just one songbook to be displayed. Using Mako I can just write Python code to only show the songbook we are actually using in the service.

I'm sure there are more valid use cases for this.
-- 
https://code.launchpad.net/~sam92/openlp/bug-1695620/+merge/363518
Your team OpenLP Core is subscribed to branch lp:openlp.


References