Code review comment for lp:~sam92/openlp/bug-1695620

Revision history for this message
Samuel Mehrbrodt (sam92) wrote :

> 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.

« Back to merge proposal