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

Add status icons to list #41

Merged
merged 4 commits into from
Jun 26, 2020

Conversation

luca-rath
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT

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

}

$field->setType('icon');
$field->setVisibility('always');
Copy link
Member

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

Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

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);
Copy link
Member

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.
@wachterjohannes wachterjohannes merged commit 6a237e4 into sulu:develop Jun 26, 2020
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.

3 participants