Skip to content

Commit

Permalink
Merge pull request #305 from ucam-department-of-psychiatry/fix-caps-s…
Browse files Browse the repository at this point in the history
…ummary

Remove odd newlines from CAPS summary
  • Loading branch information
martinburchell committed Jul 20, 2023
2 parents cb72c50 + 48fea2b commit 9051acf
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions server/camcops_server/tasks/caps.py
Expand Up @@ -283,16 +283,12 @@ def get_task_html(self, req: CamcopsRequest) -> str:
tr_total_score = tr_qa(
f"{req.sstring(SS.TOTAL_SCORE)} <sup>[1]</sup> (0–32)", total
)
tr_distress = (
tr_qa(
"{} (0–160)".format(self.wxstring(req, "distress")), distress
),
tr_distress = tr_qa(
"{} (0–160)".format(self.wxstring(req, "distress")), distress
)
tr_intrusiveness = (
tr_qa(
"{} (0–160)".format(self.wxstring(req, "intrusiveness")),
intrusiveness,
),
tr_intrusiveness = tr_qa(
"{} (0–160)".format(self.wxstring(req, "intrusiveness")),
intrusiveness,
)
tr_frequency = tr_qa(
"{} (0–160)".format(self.wxstring(req, "frequency")), frequency
Expand Down

0 comments on commit 9051acf

Please sign in to comment.