-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add status icons to list #41
Add status icons to list #41
Conversation
Metadata/ListMetadataLoader.php
Outdated
} | ||
|
||
$field->setType('icon'); | ||
$field->setVisibility('always'); |
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.
Should the status not also be displayed always also when not having the status with icons /cc @wachterjohannes
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.
you are right - @luca-rath can you add this?
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.
would be okay for me, but i wanted to keep it like it was before.
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.
I think its the most important information on the list so it should always be displayed
return null; | ||
} | ||
|
||
$list = $this->xmlListMetadataLoader->getMetadata($key, $locale, $metadataOptions); |
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.
Like this 👍
This reverts commit 7be37d1.
What's in this PR?
Show icons instead of text for status in list view.
Why?
Because it was the same in Sulu 1.6