Skip to content

Commit

Permalink
Merge pull request #586 from bitzesty/main
Browse files Browse the repository at this point in the history
Main > staging
  • Loading branch information
TheDancingClown authored Aug 25, 2023
2 parents 2023a98 + bba1d79 commit 64cbfb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/content_only/past_applications/_combined.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
.govuk-body class="govuk-!-font-weight-bold"
= application.nomination_name
small
- if award_year.winners_notify_date < Time.zone.now && application.awarded?
- if award_year.winners_notify_date&.past? && application.awarded?
| Successful
- if award_year.unsuccessful_notify_date < Time.zone.now && !application.awarded?
- if award_year.unsuccessful_notify_date&.past? && !application.awarded?
| Unsuccessful
- else
| Pending verdict
Expand Down

0 comments on commit 64cbfb9

Please sign in to comment.