Skip to content

Issue #2958 - Fix for Download option "unanswered questions" does#3039

Merged
briri merged 3 commits into
developmentfrom
bug_2958_download_options_unaswered_questions_bug
Oct 1, 2021
Merged

Issue #2958 - Fix for Download option "unanswered questions" does#3039
briri merged 3 commits into
developmentfrom
bug_2958_download_options_unaswered_questions_bug

Conversation

@johnpinto1

Copy link
Copy Markdown
Contributor

opposite.

Fixes #2958 .

Changes to following views in shared/export:

  • _plan.erb & _plan_txt.erb: In the questions code block
    added a missing check for whether the question should be displayed. This
    required moving some of the variables evaluated from lower down in the code, as we need them for our check here.

Here are screenshots of results for options: question text and section headings & unanswered question

PDF
Selection_046

TXT
Selection_047

DOCX
Selection_051

Here are screenshots of results for options: question text and section headings

PDF
Selection_049

TXT
Selection_048

DOCX
Selection_050

opposite.

Changes to following views in shared/export:
- _plan.erb &  _plan_txt.erb: In the questions code block
added a missing check for whether the question should be displayed. This
required moving some of the variables evaluated from lower down in the code, as we need them for our check here.
Comment thread app/views/shared/export/_plan_txt.erb
Apologies to @johnpinto1 for editing his file but for a one line change I didn't think it was worth holding things up.
I removed the first blank declaration since it wasn't used until after the second blank declaration. That seemed tidier to me.

@raycarrick-ed raycarrick-ed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine to me now.

@briri briri merged commit 0eb7e92 into development Oct 1, 2021
@briri briri deleted the bug_2958_download_options_unaswered_questions_bug branch October 1, 2021 15:02
portagenetwork pushed a commit to portagenetwork/roadmap that referenced this pull request Feb 24, 2022
…options_unaswered_questions_bug

Issue DMPRoadmap#2958 - Fix for Download option "unanswered questions" does
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants