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

updated guidance on only display once per question. Added break betw… #1829

Merged
merged 2 commits into from
Aug 22, 2018

Conversation

xsrust
Copy link
Contributor

@xsrust xsrust commented Aug 21, 2018

#1755

only output each guidance once per question.

Also adds separation between individual guidance when output within the same theme

<%= theme.title %>
<i class="fa fa-plus pull-right" aria-hidden="true"></i>
</h2>
<% if (guidances.map{|g| g.id} - guidances_output).any? # any not output%>
Copy link
Contributor

Choose a reason for hiding this comment

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

  • Can you move the comment to above the line please? (Trying to stay strict to the style guide)

  • Suggested minor refactor: guidances.map(&:id)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

addded the comment above and updated the statement.
I need to get in the habit of using the &:

@Bodacious
Copy link
Contributor

The broken tests should be fixed once #1832 is merged in.

This broken test bug was caused by a combination of refactoring how Languages are loaded and the cache suite being added.

@xsrust xsrust merged commit 6c76e63 into DMPRoadmap:development Aug 22, 2018
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