-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Add analytics dashboard based on Flexmonster #1
base: master
Are you sure you want to change the base?
Conversation
</head> | ||
<body> | ||
<!-- TODO: Somehow I need to pass pivot_data url / function the survey_id parameter --> | ||
<div id="pivot-table-container" data-url="{% url 'pivot_data' survey_id=4%}"></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexxxH I think this is the line I need to fix now - somehow I need to pass survey_id
through and doing it here works, but is obviously hard-coded the survey ID - is there way to access this parameter at this point or some alternative approach I should use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I think I might have understood what I was missing (or at least one way to fix this): I should pass survey_id
as a parameter to the overall template via this line: https://github.com/THEPortatCERN/Hackathon2020-Pier84/pull/1/files#diff-89918cd6e497bfe3ee6e33b23d2ef640R11
…ub workflow so it will build only for the master branch.
… list of phone numbers.
7d9eb2d
to
b2203cf
Compare
@AlexxxH, Do you need me to rebase this branch on the latest master to pick up the history changes you put in? |
@benkrikler Yes that should be fine, thanks! |
No description provided.