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

Label : pouvoir uploader un label dans l'admin #946

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

raphodn
Copy link
Contributor

@raphodn raphodn commented Oct 17, 2023

Quoi ?

Dans l'admin, pour le modèle Label, permettre aux administrateurs d'uploader un logo. On utilise le même fonctionnement que pour les utilisateurs (s3 + dropzone). Dès que l'upload est effectué, le champ "Lien vers le logo" est rempli, et il suffit d'enregistrer pour sauvegarder.

J'ai aussi rajouté une colonne dans la vue "liste", pour indiquer si le label a un logo ou pas.

Captures d'écran

Page Image
Admin : détail image
Admin : liste image

@raphodn raphodn self-assigned this Oct 17, 2023
Copy link
Contributor

@madjid-asa madjid-asa left a comment

Choose a reason for hiding this comment

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

LGTM 🌮

@raphodn raphodn force-pushed the raphodn/admin-s3-file-upload branch from 9cfd0b5 to 412a761 Compare October 26, 2023 12:04
@raphodn raphodn merged commit 7dfe985 into master Oct 26, 2023
4 checks passed
@raphodn raphodn deleted the raphodn/admin-s3-file-upload branch October 26, 2023 12:22
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