{"action":"created","issue":{"url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/132","repository_url":"https://api.github.com/repos/AtelierCartographie/eatlas","labels_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/132/comments","events_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/132/events","html_url":"https://github.com/AtelierCartographie/eatlas/issues/132","id":336956325,"node_id":"MDU6SXNzdWUzMzY5NTYzMjU=","number":132,"title":"Type image et carte","user":{"login":"TomBor","id":8322713,"node_id":"MDQ6VXNlcjgzMjI3MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8322713?v=4","gravatar_id":"","url":"https://api.github.com/users/TomBor","html_url":"https://github.com/TomBor","followers_url":"https://api.github.com/users/TomBor/followers","following_url":"https://api.github.com/users/TomBor/following{/other_user}","gists_url":"https://api.github.com/users/TomBor/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBor/subscriptions","organizations_url":"https://api.github.com/users/TomBor/orgs","repos_url":"https://api.github.com/users/TomBor/repos","events_url":"https://api.github.com/users/TomBor/events{/privacy}","received_events_url":"https://api.github.com/users/TomBor/received_events","type":"User","site_admin":false},"labels":[{"id":768808266,"node_id":"MDU6TGFiZWw3Njg4MDgyNjY=","url":"https://api.github.com/repos/AtelierCartographie/eatlas/labels/bug","name":"bug","color":"ee0701","default":true},{"id":869538318,"node_id":"MDU6TGFiZWw4Njk1MzgzMTg=","url":"https://api.github.com/repos/AtelierCartographie/eatlas/labels/front-office","name":"front-office","color":"efdf51","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-29T11:00:05Z","updated_at":"2018-07-10T15:01:33Z","closed_at":null,"author_association":"COLLABORATOR","body":"D'après les preview et en regardant un peu le code. Voici les derniers points sur le rendu des ressources de type image et carte.\r\n\r\n**Carte**\r\n\r\n- [ ]   Il manque l'appel du script picturefill.min.js dans le fichier [Body.js](https://github.com/AtelierCartographie/eatlas/blob/master/client/src/components/preview/Body.js) pour que les différentes tailles de fichier s'affichent.\r\n`h('script', { src: prefixUrl('/assets/js/picturefill.min.js', options.preview) }),`\r\n- [ ]   en preview, les différents `srcset=` dirigent tous vers le même fichier (toujours le small). Alors qu'a la publication d'une ressource carte dans le BO reconnait bien les variations de tailles et de densités\r\n- [ ]   ce fonctionnement valable dans les pages article et focus doit aussi être appliqué dans la page ressource qui ne réutilise pas le système des `srcset` dans une balise `picture`\r\n\r\n**Image**\r\n\r\n- [ ]   il y a peut être eu des messages contradictoires sur ce point, mais actuellement seul le format large d'une image est affiché. Or le même système de fonctionnement (avec picturefill) que les cartes doit être appliqué ici. Par contre seulement avec plusieurs tailles (les fichiers n'ont pas plusieurs densités)\r\n- [ ]   idem carte, le fonctionnement est aussi valable avec la page ressource\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/comments/403854875","html_url":"https://github.com/AtelierCartographie/eatlas/issues/132#issuecomment-403854875","issue_url":"https://api.github.com/repos/AtelierCartographie/eatlas/issues/132","id":403854875,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzg1NDg3NQ==","user":{"login":"TomBor","id":8322713,"node_id":"MDQ6VXNlcjgzMjI3MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8322713?v=4","gravatar_id":"","url":"https://api.github.com/users/TomBor","html_url":"https://github.com/TomBor","followers_url":"https://api.github.com/users/TomBor/followers","following_url":"https://api.github.com/users/TomBor/following{/other_user}","gists_url":"https://api.github.com/users/TomBor/gists{/gist_id}","starred_url":"https://api.github.com/users/TomBor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomBor/subscriptions","organizations_url":"https://api.github.com/users/TomBor/orgs","repos_url":"https://api.github.com/users/TomBor/repos","events_url":"https://api.github.com/users/TomBor/events{/privacy}","received_events_url":"https://api.github.com/users/TomBor/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T15:01:33Z","updated_at":"2018-07-10T15:01:33Z","author_association":"COLLABORATOR","body":"- [ ] ajouter le lien au bouton “Info & téléchargement”  : vers la page ressource de cette ressource"}}
{"actor":{"display_login":"TomBor"}}