mirror of
https://github.com/norohind/SquadsActivityMonitor.git
synced 2025-04-13 05:17:12 +03:00
Explicit rename tag to Tag column
This commit is contained in:
parent
d483040901
commit
8107895c52
@ -56,7 +56,7 @@ limit %(limit)s;"""
|
||||
|
||||
select_diff_by_action_id = """select
|
||||
coalesce(new_stats.name, old_stats.name) as "SquadronName",
|
||||
coalesce(new_stats.tag, old_stats.tag),
|
||||
coalesce(new_stats.tag, old_stats.tag) as "Tag",
|
||||
coalesce(new_stats.score, 0) as "TotalExperience",
|
||||
coalesce(old_stats.score, 0) as "TotalExperienceOld",
|
||||
coalesce(new_stats.score, 0) - coalesce(old_stats.score, 0) as "TotalExperienceDiff",
|
||||
|
3
web.py
3
web.py
@ -88,8 +88,7 @@ class ActivityDiffHtml:
|
||||
# table: str = json.dumps(model.get_diff_action_id(action_id))
|
||||
resp.text = utils.activity_table_html_template.replace(
|
||||
'{items}', json.dumps(model.get_diff_action_id(action_id))
|
||||
).replace('{target_column_name}', 'tag').replace('{target_new_url}', '/jub/squads/now/by-tag/')
|
||||
|
||||
).replace('{target_column_name}', 'Tag').replace('{target_new_url}', '/jub/squads/now/by-tag/')
|
||||
|
||||
|
||||
class MainPage:
|
||||
|
Loading…
x
Reference in New Issue
Block a user