Skip to content

Conversation

@johnpinto1
Copy link
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.
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.
Copy link
Contributor

@raycarrick-ed raycarrick-ed left a comment

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.

4 participants