Skip to content
Snippets Groups Projects
Commit 92d0719a authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Change the open round check to be better

parent 73b0fe11
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ class FundPage(BasePage):
]
@property
def has_open(self):
def is_open(self):
return bool(self.fund_type.specific.open_round)
@property
......
......@@ -2,7 +2,7 @@
<div class="wrapper wrapper--flex">
<div class="section section--apply-cta">
{% if fund_page.has_open %}
{% if fund_page.is_open %}
{% if fund_page.deadline %}
<div class="deadline">
{% trans "Next deadline" %}: {{ fund_page.deadline|date:"M j, Y" }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment