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

Moved shared icons into the admin design #202

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pkamps
Copy link
Member

@pkamps pkamps commented Apr 11, 2021

eZ Publish has a theme concept for icons. The icon files are located at share/icons/.... In the apache vhost configuration we allow a direct access to icons folder.

I do not know a single site that is using multiple icon themes actively. Sometimes we added more icons for content classes - so that we have special icons in the admin interface for custom classes we created for clients.

This pull requests simplifies the approach to the icons. It is moving the icons of the crystal-admin theme into the admin design extension. The template operators in order to build the URL to the icon images are updated and lookup the icons in the admin design (instead of looking them up in the share/icons folder).

The benefit is less complexity, icon images are handled as any other design images (there is still the access through the template operators). No special rule in the vhost is needed anymore.

@peterkeung
Copy link
Member

Only slightly related: That share/icons folder is my default place to put temporary files to download. I guess I can find a different folder!

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