-
Notifications
You must be signed in to change notification settings - Fork 14
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
EZP-30326: As a user I want to see if my search in UDW has no results #168
EZP-30326: As a user I want to see if my search in UDW has no results #168
Conversation
@@ -45,7 +45,8 @@ | |||
} | |||
|
|||
.c-search__submit[disabled] { | |||
opacity: 0.75; | |||
opacity: 0.3; | |||
cursor: not-allowed; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -41,7 +36,6 @@ export default class BookmarksComponent extends Component { | |||
perPage={bookmarksPerPage} | |||
contentTypesMap={contentTypesMap} | |||
title={tableTitle} | |||
noItemsMessage={noBookmarksMessage} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why bookmark tables will not have this message anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was never used in Bookmarks, it must have stayed after some modifications in the past.
} | ||
|
||
const searchTipsTitle = Translator.trans(/*@Desc("Some helpful search tips:")*/ 'search.tips.headline', {}, 'search'); | ||
const searchTip1 = Translator.trans(/*@Desc("Check spelling of keywords.")*/ 'search.tips.check_spelling', {}, 'search'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, never ever use a variable named text{number}
canSelectContent={canSelectContent} | ||
onItemRemove={onItemRemove} | ||
multiple={multiple} | ||
noItemsMessage={`Sorry, no results were found for "${lastSearchText}".`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translation
…' message + search tips
032ef4c
to
8a5a00a
Compare
You can merge it up. |
Merged up:
|
JIRA: https://jira.ez.no/browse/EZP-30326
Requires: ezsystems/ezplatform-admin-ui#920
Screenshot