Closed peterschaer closed 1 year ago
The name of the municipality below the coat of arms (right expression?) might not be according to the specs (except it can be considered as a component of it). My first impression is that it is better to have it. Municipality name is written only on the first page. And not everyone is that familiar with all the coat of arms.
According to the specs, the municipality name is indeed not mandatory. I do agree with @michmuel that it could be nice to keep it - but should we render it optional?
I realise that the name of the municipality has its justification. I wonder if it is worth the effort to make it optional. That would also affect the print_proxy in pyramid_oereb, wouldn't it? For me, it's enough if I can delete or comment out the corresponding code block in our own repository.
I realise that the name of the municipality has its justification. I wonder if it is worth the effort to make it optional. That would also affect the print_proxy in pyramid_oereb, wouldn't it? For me, it's enough if I can delete or comment out the corresponding code block in our own repository.
Yes, it would require a configuration parameter in pyramid_oereb itself, but that is not a big deal, as we already have a couple of examples for that. I would prefer that to customizing the print templates per project (the goal is that each project can use the templates out-of-the-box, without modification). I can assist with adding this as an option in pyramid_oereb, if desired.
I'm also fan of the optional parameter even if this means a little more work (now).
That is also ok for me. An optional parameter is certainly the more consistent solution.
That is also ok for me. An optional parameter is certainly the more consistent solution.
Do you want to do a pull request for that, or shall I?
Could you do the pull request? This is beyond my mapfish_print knowledge ;-)
is replaced by #132
fixes #129