-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need more keywords in the report template #744
Comments
Note I made some small changes to the logos - paths are the same but they may look a little different. |
Hi @vanpuk What do you think of this? Regards Tim |
What is the source of the disclaimer? Disclaimer is a general thing and, as I understand, it should not go to keywords database/file. Maybe another option in general config dialog or impact report dialog should be added? Am I right that impact report table accessible via 'impact-summary' keyword? |
@alexbruy Hi
Yes having a configurable disclaimer text (defaulting to current text as per your current template) would be good. We should also support the [disclaimer] token so a user can incorporate it in their templates that way if needed.
|
Apologies for the delay, I found some time to have a play with the logo strip. |
I am wondering if we should have the title up the top and the supports quite small in the bottom right corner with the disclaimer on the left? |
we are too modest :) |
@timlinux, os it is ok to add another option to the InaSAFE config dialog for disclaimer? |
Docs for new elements here inasafe/inasafe-doc#113 |
Thanks @alexbruy |
I like a title at the top and logos at the bottom (equal size if possible) |
@vanpuk I did one more take on the sponsors logos: Notes:
@Charlotte-Morgan Ok I will switch the title and logo around |
Hmm trying to print I get An error has occured while executing Python code:
Traceback (most recent call last):
File "/home/timlinux/.qgis2/python/plugins/inasafe-dev/safe_qgis/widgets/dock.py", line 1873, in print_map
keywords, filename=table_file_name)
File "/home/timlinux/.qgis2/python/plugins/inasafe-dev/safe_qgis/report/html_renderer.py", line 249, in print_impact_table
html += full_table
TypeError: coercing to Unicode: need string or buffer, NoneType found |
@alexbruy ok I fixed here will commit in a sec |
561e66d Fixes the above exception |
@vanpuk @Charlotte-Morgan that is what the current version looks like (using the 'inasafe') template. |
The remaining issue is to figure out how to set the legend columns to 1 if there aren't too many entries - @alexbruy do you have any suggestions for doing that? |
Seems there is no way to get number of legend entries for composer legend. I tried to do this but currently without big success. Will look more. |
Hi Tim,
Cheers Kristy
|
Hi Tim et al,
See separate ticket :) #758 |
Thanks @alexbruy I will test it. Can you also test with the a3 landscape template I committed - it seems to come out in portrait and not respect the fact that the composer options are set to landscape. Regards Tim |
Problem
We would like to parameterise more elements than just those defined in the documentation here:
http://test.inasafe.org/en/user-docs/application-help/reports.html
There are also other tweaks we would like to make.
Proposed solution
Add the following capabilities to the reporting template:
safe_qgis/resources/img/logos/supporters.png
safe_qgis/resources/img/logos/inasafe-logo-url.png
. This logo should be included in the logo area for every report template we ship with InaSAFE.Expected outcome
Users should be able to add disclaimer and other elements to the report not currently catered for.
CC
@vanpuk
The text was updated successfully, but these errors were encountered: