diff --git a/templates/table_diff_template.html b/templates/table_diff_template.html new file mode 100644 index 0000000..bc03c75 --- /dev/null +++ b/templates/table_diff_template.html @@ -0,0 +1,18 @@ + + + + + {{ @json2html_template.html }} + + + +
+
+ {{ @footer.html }} +
+ +
+ + \ No newline at end of file diff --git a/web.py b/web.py index 0f29835..87c4e2c 100644 --- a/web.py +++ b/web.py @@ -3,7 +3,6 @@ import json import falcon import os from EDMCLogging import get_main_logger -import utils from model.sqlite_cache import cache from templates_engine import render @@ -87,10 +86,11 @@ class ActivityDiffHtml: def on_get(self, req: falcon.request.Request, resp: falcon.response.Response, action_id: int) -> None: resp.content_type = falcon.MEDIA_HTML resp.text = render( - 'table_template.html', + 'table_diff_template.html', { 'target_column_name': 'Tag', - 'target_new_url': '/squads/now/by-tag/short/' + 'target_new_url': '/squads/now/by-tag/short/', + 'action_id': action_id } )