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

Grants: email copy updates #3712

Merged
merged 17 commits into from
Feb 8, 2024
Merged

Grants: email copy updates #3712

merged 17 commits into from
Feb 8, 2024

Conversation

estyxx
Copy link
Member

@estyxx estyxx commented Feb 1, 2024

Why

How to test it

Copy link

vercel bot commented Feb 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
pycon ❌ Failed (Inspect) Feb 8, 2024 11:42am

Copy link

codecov bot commented Feb 1, 2024

Codecov Report

Merging #3712 (ee970a7) into main (6e7e6df) will increase coverage by 0.05%.
Report is 4 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3712      +/-   ##
==========================================
+ Coverage   90.41%   90.46%   +0.05%     
==========================================
  Files         268      268              
  Lines        7253     7250       -3     
  Branches     1090     1087       -3     
==========================================
+ Hits         6558     6559       +1     
+ Misses        625      623       -2     
+ Partials       70       68       -2     

@estyxx estyxx marked this pull request as ready for review February 7, 2024 11:35
</p>
<div class="leading-full items-center justify-center flex mb-4"
style="justify-content: center">
<a href="@{{ replyLink }}"

Check warning

Code scanning / CodeQL

Potentially unsafe external link Medium

External links without noopener/noreferrer are a potential security risk.
)
and grant.accommodation_amount is None
):
if grant.has_approved_accommodation() and grant.accommodation_amount is None:
Copy link
Member

Choose a reason for hiding this comment

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

not for this PR, but we have a very similar logic in the Grant save method when it calculates the amounts to set. We could refactor it to use those 2 new methods

Co-authored-by: Marco Acierno <marcoaciernoemail@gmail.com>
@estyxx estyxx merged commit d261a40 into main Feb 8, 2024
8 of 10 checks passed
@estyxx estyxx deleted the feature/update-grants-email-copy branch February 8, 2024 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants