{"action":"opened","issue":{"url":"https://api.github.com/repos/indico/indico/issues/1760","labels_url":"https://api.github.com/repos/indico/indico/issues/1760/labels{/name}","comments_url":"https://api.github.com/repos/indico/indico/issues/1760/comments","events_url":"https://api.github.com/repos/indico/indico/issues/1760/events","html_url":"https://github.com/indico/indico/issues/1760","id":56501556,"number":1760,"title":"Use jQuery dropdown for the manage contribution menu","user":{"login":"nop33","id":1579899,"avatar_url":"https://avatars.githubusercontent.com/u/1579899?v=3","gravatar_id":"","url":"https://api.github.com/users/nop33","html_url":"https://github.com/nop33","followers_url":"https://api.github.com/users/nop33/followers","following_url":"https://api.github.com/users/nop33/following{/other_user}","gists_url":"https://api.github.com/users/nop33/gists{/gist_id}","starred_url":"https://api.github.com/users/nop33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nop33/subscriptions","organizations_url":"https://api.github.com/users/nop33/orgs","repos_url":"https://api.github.com/users/nop33/repos","events_url":"https://api.github.com/users/nop33/events{/privacy}","received_events_url":"https://api.github.com/users/nop33/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/indico/indico/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-04T09:28:46Z","updated_at":"2015-02-04T09:28:46Z","closed_at":null,"body":"Currently we are using a PopupMenu to create the dropdown menu when clicking on a \"manage contribution\" button (meeting page):\r\n![](http://i.imgur.com/u5TZQbs.png)\r\n\r\nIt would be nicer to use a more modern dropdown like the jQuery one:\r\n![](http://i.imgur.com/edgCXIv.png)\r\n\r\nThe definition of the \"manage contribution\" button is in the file `/MaKaC/webinterface/tpls/events/include/ManageButton.tpl`\r\n\r\nThe way to implement the jQuery dropdown is:\r\n* render an `<ul class=\"dropdown\">` (which will include all the menu items) right after the `<a>` button\r\n* activate the dropdown using the jQuery widget `dropdown()` on a parent or on the manage button itself."}}