Skip to content

Commit

Permalink
Merge branch 'master' into issue-1444
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavik-ag authored Jul 18, 2023
2 parents ab3bd78 + 43a47ea commit 1ed425e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion care/facility/api/serializers/patient_otp.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def send_sms(otp, phone_number):
sendSMS(
phone_number,
(
f"CoronaSafe Network Patient Management System Login, OTP is {otp} . "
f"Open Healthcare Network Patient Management System Login, OTP is {otp} . "
"Please do not share this Confidential Login Token with anyone else"
),
)
Expand Down
2 changes: 1 addition & 1 deletion care/facility/models/prescription.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class MedibaseMedicine(BaseModel):
atc_classification = models.TextField(blank=True, null=True)

def __str__(self):
return " - ".join([self.name, self.generic, self.company])
return " - ".join(filter(None, [self.name, self.generic, self.company]))


class Prescription(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion care/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
alt="Digital Public Goods logo" />
</a>
<a href="https://coronasafe.network/">
CoronaSafe Network is an open-source digital public good designed by
Open Healthcare Network is an open-source digital public good designed by
a multi-disciplinary team of innovators and volunteers who are working on a model to support
Government efforts.</a>&nbsp;
<a href="https://github.com/coronasafe" class="care-secondary-color">(Github)</a>
Expand Down
2 changes: 1 addition & 1 deletion care/templates/email/user_reset_password.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Hi,
Greetings from Coronasafe Network,
Greetings from Open Healthcare Network,
Please click the following link to reset your password for your account with username {{username}}
<a href="{{reset_password_url}}" > Click Here</a>

Expand Down
2 changes: 1 addition & 1 deletion care/templates/email/user_reset_password.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Hi,
Greetings from Coronasafe Network,
Greetings from Open Healthcare Network,
Please click the following link to reset your password
{{reset_password_url}}

Expand Down

0 comments on commit 1ed425e

Please sign in to comment.