Intervention template adjustments

* renames intervention variable to obj to match other template style
* renames open routes to detail routes
This commit is contained in:
2021-10-13 09:26:46 +02:00
parent 337d7b39e7
commit efe26ae6f5
24 changed files with 87 additions and 87 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ class CompensationTable(BaseTable):
html = ""
html += self.render_link(
tooltip=_("Open {}").format(_("Compensation")),
href=reverse("compensation:open", args=(record.id,)),
href=reverse("compensation:detail", args=(record.id,)),
txt=value,
new_tab=False,
)
@@ -223,7 +223,7 @@ class EcoAccountTable(BaseTable):
html = ""
html += self.render_link(
tooltip=_("Open {}").format(_("Eco-account")),
href=reverse("compensation:acc-open", args=(record.id,)),
href=reverse("compensation:acc-detail", args=(record.id,)),
txt=value,
new_tab=False,
)