Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Notification templates #583

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

BogoCvetkov
Copy link
Contributor

Update the fields for the Notification templates

Copy link

github-actions bot commented Dec 11, 2023

✅ Tests will run for this PR. Once they succeed it can be merged.

@slavcho slavcho added the run tests Allows running the tests workflows for forked repos label Dec 12, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Dec 12, 2023
Copy link
Contributor

@slavcho slavcho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@@ -101,7 +101,7 @@ export class CampaignNewsService {
campaignid: campaign.id,
template_data: {
'campaign.name': campaign?.title,
'campaign.target-amount': campaign?.targetAmount || 0,
'campaign.target-amount': (campaign?.targetAmount && campaign?.targetAmount / 100) || 0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is somewhat difficult to read.
I wonder if there is a better way to get the campaign target.

@slavcho slavcho added the run tests Allows running the tests workflows for forked repos label Dec 12, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Dec 12, 2023
@slavcho
Copy link
Contributor

slavcho commented Dec 12, 2023

There are a couple of unit tests failing.
I think we should fix those before merging...

@slavcho slavcho added the run tests Allows running the tests workflows for forked repos label Dec 12, 2023
@github-actions github-actions bot removed the run tests Allows running the tests workflows for forked repos label Dec 12, 2023
@slavcho slavcho merged commit 9fe1083 into podkrepi-bg:master Dec 12, 2023
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants