Mercurial > bottledash
diff modules/web_view/display_issues_techintern.py @ 43:2e2981af7d2d
Use bottledash-specific graph template
This version differs from roundup_cc's graph.html in that is not a complete
HTML file but a snippet.
author | Gernot Schulz <gernot@intevation.de> |
---|---|
date | Sun, 31 Jan 2016 15:21:18 +0100 |
parents | 8935152f5e19 |
children | 8449509b7f6f |
line wrap: on
line diff
--- a/modules/web_view/display_issues_techintern.py Sun Jan 31 13:18:51 2016 +0100 +++ b/modules/web_view/display_issues_techintern.py Sun Jan 31 15:21:18 2016 +0100 @@ -22,10 +22,13 @@ from display_issues import * +graph = os.path.dirname(os.path.realpath(__file__)) + '/bottledash_graph.html' + def get_chart(target_div_name): html_string = compile_db_stats_html( rcd.DATABASE_TECH_INTERN, - rcd.SELECT_ALL + rcd.SELECT_ALL, + graph ) html_string = html_string.replace(