Skip to content

Commit

Permalink
pass bmds version into software
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron committed Jun 27, 2016
1 parent e146eb3 commit 4bfa506
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project/assets/bmd/containers/Tabs.js
Expand Up @@ -21,7 +21,7 @@ class Tabs extends React.Component {

render(){
let editMode = this.props.config.editMode,
version = '2.6.0.1';
version = this.props.config.bmds_version;

return (
<div>
Expand Down
1 change: 1 addition & 0 deletions project/templates/bmd/bmdsession_detail.html
Expand Up @@ -34,6 +34,7 @@ <h1>{{object}}
{
"editMode": false,
"assessment_id": {{ assessment.id }},
"bmds_version": "{{assessment.BMD_Settings.BMDS_version}}",
"endpoint_id": {{ object.endpoint_id }},
"csrf": "{{ csrf_token }}",
"host": "//{{request.get_host}}"
Expand Down
1 change: 1 addition & 0 deletions project/templates/bmd/bmdsession_form.html
Expand Up @@ -32,6 +32,7 @@ <h1>{{object}}
{
"editMode": true,
"assessment_id": {{ assessment.id }},
"bmds_version": "{{assessment.BMD_Settings.BMDS_version}}",
"endpoint_id": {{ object.endpoint_id }},
"csrf": "{{ csrf_token }}",
"host": "//{{request.get_host}}"
Expand Down

0 comments on commit 4bfa506

Please sign in to comment.