{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2045","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2045/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2045/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2045/events","html_url":"https://github.com/zestedesavoir/zds-site/issues/2045","id":54195881,"number":2045,"title":"[Staff] Afficher si un compte n'est pas activé","user":{"login":"Eskimon","id":761168,"avatar_url":"https://avatars.githubusercontent.com/u/761168?v=3","gravatar_id":"","url":"https://api.github.com/users/Eskimon","html_url":"https://github.com/Eskimon","followers_url":"https://api.github.com/users/Eskimon/followers","following_url":"https://api.github.com/users/Eskimon/following{/other_user}","gists_url":"https://api.github.com/users/Eskimon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eskimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eskimon/subscriptions","organizations_url":"https://api.github.com/users/Eskimon/orgs","repos_url":"https://api.github.com/users/Eskimon/repos","events_url":"https://api.github.com/users/Eskimon/events{/privacy}","received_events_url":"https://api.github.com/users/Eskimon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/Back","name":"Back","color":"207de5"},{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/Front","name":"Front","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-13T13:54:09Z","updated_at":"2015-04-21T12:45:57Z","closed_at":null,"body":"Lorsqu'un staff visualise un profil, il voit dans le bas de la sidebar des actions sur le banissement. Ces actions ne devrait pas etre visible si le compte du membre n'est pas activé.\r\n\r\nUn message devrait aussi etre visible quelque part pour signaler que le compte n'est pas activée.\r\n\r\nPour le premier point, il suffit d'englober le passage suivant avec un `if usr.is_active` (ou un truc de cet acabit) https://github.com/zestedesavoir/zds-site/blob/dev/templates/member/profile.html#L497\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/94779592","html_url":"https://github.com/zestedesavoir/zds-site/issues/2045#issuecomment-94779592","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2045","id":94779592,"user":{"login":"Eskimon","id":761168,"avatar_url":"https://avatars.githubusercontent.com/u/761168?v=3","gravatar_id":"","url":"https://api.github.com/users/Eskimon","html_url":"https://github.com/Eskimon","followers_url":"https://api.github.com/users/Eskimon/followers","following_url":"https://api.github.com/users/Eskimon/following{/other_user}","gists_url":"https://api.github.com/users/Eskimon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eskimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eskimon/subscriptions","organizations_url":"https://api.github.com/users/Eskimon/orgs","repos_url":"https://api.github.com/users/Eskimon/repos","events_url":"https://api.github.com/users/Eskimon/events{/privacy}","received_events_url":"https://api.github.com/users/Eskimon/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T12:45:57Z","updated_at":"2015-04-21T12:45:57Z","body":"Ok je ferme ! (ca serait cool de trouver la PR / milestone a appliquer cependant)"}}