diff --git a/utils.py b/utils.py index 9fe95ba..94b5944 100644 --- a/utils.py +++ b/utils.py @@ -173,34 +173,33 @@ def measure(function: callable): return decorated -activity_table_html_template = """ - +activity_table_html_template = """ diff --git a/web.py b/web.py index 9e66ad9..a4f82d2 100644 --- a/web.py +++ b/web.py @@ -61,7 +61,7 @@ class ActivityHtml: table_in_json: str = resp.text resp.content_type = falcon.MEDIA_HTML - resp.text = utils.activity_table_html_template.replace('{items}', table_in_json) + resp.text = utils.activity_table_html_template.replace('{items}', table_in_json).replace('{target_column_name}', 'ActionId').replace('{target_new_url}', '/diff/') # what? f-strings? .format? never heard about them