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

Show motivationless attributes on entity detail #255

Merged

Conversation

MKodde
Copy link
Contributor

@MKodde MKodde commented May 14, 2019

Attributes without motivation (possible for drafts and test entities)
did not show up on the entity detail screen. They are now displayed.
When no motivation is set, a translatable 'no motivation set' message
is rendered.

See: https://www.pivotaltracker.com/story/show/165597382

@MKodde MKodde requested a review from pablothedude May 14, 2019 11:09
@MKodde MKodde changed the title Show motivationless attr on entity detail Show motivationless attributes on entity detail May 14, 2019
@MKodde MKodde force-pushed the bugfix/show-motivationless-attr-on-entity-detail branch from afa9e4d to fd1d701 Compare May 14, 2019 12:42
Copy link
Contributor

@pablothedude pablothedude left a comment

Choose a reason for hiding this comment

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

LGTM!

The test adds one attribute with motivation and one without to the
SURFnet entity. The test then verifies that both are shown. The one with
the default, not set text. The latter with the expected attribute
motivation that is set on the test entity.

See: https://www.pivotaltracker.com/story/show/165597382
Attributes without motivation (possible for drafts and test entities)
did not show up on the entity detail screen. They are now displayed.
When no motivation is set, a translatable 'no motivation set' message
is rendered.
@pablothedude pablothedude force-pushed the bugfix/show-motivationless-attr-on-entity-detail branch from fd1d701 to 746d6dd Compare May 16, 2019 08:53
@pablothedude pablothedude merged commit d3532b1 into develop May 16, 2019
@pablothedude pablothedude deleted the bugfix/show-motivationless-attr-on-entity-detail branch May 16, 2019 09:11
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