Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
internewshid
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
aptivate
client-projects
internewshid
Commits
dd7a16f9
Commit
dd7a16f9
authored
9 years ago
by
Alice Heaton
Browse files
Options
Downloads
Patches
Plain Diff
Ensure automatic file upload and select all checkbox javascript dependency is explicitly mentioned.
parent
ad98d686
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
django/website/hid/views.py
+3
-0
3 additions, 0 deletions
django/website/hid/views.py
with
3 additions
and
0 deletions
django/website/hid/views.py
+
3
−
0
View file @
dd7a16f9
...
...
@@ -11,6 +11,7 @@ from django_tables2 import SingleTableView
from
chn_spreadsheet.importer
import
Importer
,
SheetImportException
from
data_layer.models
import
Term
import
transport
from
.assets
import
require_assets
from
.forms
import
UploadForm
,
get_spreadsheet_choices
from
.tables
import
ItemTable
...
...
@@ -101,6 +102,8 @@ class ViewItems(SingleTableView):
context
=
super
(
ViewItems
,
self
).
get_context_data
(
**
kwargs
)
context
[
'
type_label
'
]
=
_
(
'
Questions
'
)
context
[
'
upload_form
'
]
=
UploadForm
(
initial
=
{
'
source
'
:
'
geopoll
'
})
require_assets
(
'
hid/js/automatic_file_upload.js
'
)
require_assets
(
'
hid/js/select_all_checkbox.js
'
)
return
context
...
...
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