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
82fe92e7
Commit
82fe92e7
authored
7 years ago
by
Todd Dembrey
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Update to use submission as variable name instead of application
parent
fc116337
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
opentech/apply/activity/views.py
+1
-1
1 addition, 1 deletion
opentech/apply/activity/views.py
with
1 addition
and
1 deletion
opentech/apply/activity/views.py
+
1
−
1
View file @
82fe92e7
...
@@ -7,7 +7,7 @@ from .models import Activity
...
@@ -7,7 +7,7 @@ from .models import Activity
class
CommentContextMixin
:
class
CommentContextMixin
:
def
get_context_data
(
self
,
**
kwargs
):
def
get_context_data
(
self
,
**
kwargs
):
extra
=
{
extra
=
{
'
comments
'
:
Activity
.
objects
.
filter
(
applicat
ion
=
self
.
object
),
'
comments
'
:
Activity
.
objects
.
filter
(
submiss
ion
=
self
.
object
),
CommentFormView
.
context_name
:
CommentFormView
.
form_class
(),
CommentFormView
.
context_name
:
CommentFormView
.
form_class
(),
}
}
...
...
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