Skip to content
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

do not repeat help instructions for every guidance group #3173

Merged
merged 2 commits into from
Jun 3, 2022
Merged

do not repeat help instructions for every guidance group #3173

merged 2 commits into from
Jun 3, 2022

Conversation

nicolasfranck
Copy link
Contributor

Context: if you open the template editor, in the org admin interface, and then open a question for editing,
you'll see some themed guidance next to that question.

If you have multiple guidance groups that match the theme
of the current question, then the help text Click the links below to view organisational guidance related to the themes associated with this question. as many times.

The cause is a missing break statement for the outer loop here
I believe the only reason for this loop was set to set variable has_org_themed_guidance to true, right?
In that case that one break is not enough, as there another outer loop also.

I've moved that help text also too.

Unless of course, this has a different purpose.

Copy link
Contributor

@briri briri left a comment

Choose a reason for hiding this comment

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

looks good @nicolasfranck

@briri briri merged commit 6f6dc18 into DMPRoadmap:development Jun 3, 2022
@nicolasfranck nicolasfranck deleted the fix_org_admin_multiple_theme_help branch February 10, 2023 10:00
nicolasfranck added a commit to DMPbelgium/roadmap that referenced this pull request Jun 1, 2023
nicolasfranck added a commit to DMPbelgium/roadmap that referenced this pull request Jun 1, 2023
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.

2 participants