WIP: Add analytics dashboard based on Flexmonster - #1
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.
@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.
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.