Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
92d0719a
Commit
92d0719a
authored
7 years ago
by
Todd Dembrey
Browse files
Options
Downloads
Patches
Plain Diff
Change the open round check to be better
parent
73b0fe11
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
opentech/public/funds/models.py
+1
-1
1 addition, 1 deletion
opentech/public/funds/models.py
opentech/public/funds/templates/public_funds/includes/fund_apply_cta.html
+1
-1
1 addition, 1 deletion
...funds/templates/public_funds/includes/fund_apply_cta.html
with
2 additions
and
2 deletions
opentech/public/funds/models.py
+
1
−
1
View file @
92d0719a
...
...
@@ -48,7 +48,7 @@ class FundPage(BasePage):
]
@property
def
ha
s_open
(
self
):
def
i
s_open
(
self
):
return
bool
(
self
.
fund_type
.
specific
.
open_round
)
@property
...
...
This diff is collapsed.
Click to expand it.
opentech/public/funds/templates/public_funds/includes/fund_apply_cta.html
+
1
−
1
View file @
92d0719a
...
...
@@ -2,7 +2,7 @@
<div
class=
"wrapper wrapper--flex"
>
<div
class=
"section section--apply-cta"
>
{% if fund_page.
ha
s_open %}
{% if fund_page.
i
s_open %}
{% if fund_page.deadline %}
<div
class=
"deadline"
>
{% trans "Next deadline" %}: {{ fund_page.deadline|date:"M j, Y" }}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment