{"action":"created","issue":{"url":"https://api.github.com/repos/qgis/QGIS/issues/1529","labels_url":"https://api.github.com/repos/qgis/QGIS/issues/1529/labels{/name}","comments_url":"https://api.github.com/repos/qgis/QGIS/issues/1529/comments","events_url":"https://api.github.com/repos/qgis/QGIS/issues/1529/events","html_url":"https://github.com/qgis/QGIS/pull/1529","id":39864602,"number":1529,"title":"enhance the GetFeatureInfo response with the option to configure it usin...","user":{"login":"aperi2007","id":2136684,"avatar_url":"https://avatars.githubusercontent.com/u/2136684?v=3","gravatar_id":"","url":"https://api.github.com/users/aperi2007","html_url":"https://github.com/aperi2007","followers_url":"https://api.github.com/users/aperi2007/followers","following_url":"https://api.github.com/users/aperi2007/following{/other_user}","gists_url":"https://api.github.com/users/aperi2007/gists{/gist_id}","starred_url":"https://api.github.com/users/aperi2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aperi2007/subscriptions","organizations_url":"https://api.github.com/users/aperi2007/orgs","repos_url":"https://api.github.com/users/aperi2007/repos","events_url":"https://api.github.com/users/aperi2007/events{/privacy}","received_events_url":"https://api.github.com/users/aperi2007/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/qgis/QGIS/labels/Requires%20Changes","name":"Requires Changes","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"mhugent","id":278939,"avatar_url":"https://avatars.githubusercontent.com/u/278939?v=3","gravatar_id":"","url":"https://api.github.com/users/mhugent","html_url":"https://github.com/mhugent","followers_url":"https://api.github.com/users/mhugent/followers","following_url":"https://api.github.com/users/mhugent/following{/other_user}","gists_url":"https://api.github.com/users/mhugent/gists{/gist_id}","starred_url":"https://api.github.com/users/mhugent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhugent/subscriptions","organizations_url":"https://api.github.com/users/mhugent/orgs","repos_url":"https://api.github.com/users/mhugent/repos","events_url":"https://api.github.com/users/mhugent/events{/privacy}","received_events_url":"https://api.github.com/users/mhugent/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2014-08-08T21:28:33Z","updated_at":"2015-12-08T13:14:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/qgis/QGIS/pulls/1529","html_url":"https://github.com/qgis/QGIS/pull/1529","diff_url":"https://github.com/qgis/QGIS/pull/1529.diff","patch_url":"https://github.com/qgis/QGIS/pull/1529.patch"},"body":"...g a css (see the qgis_getfeatureinfo_response.css) for add a logo or configure the rendering of tables.\r\n![sample_response](https://cloud.githubusercontent.com/assets/2136684/3863030/e8e9d5ec-1f42-11e4-9522-ae2c0e89b029.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/qgis/QGIS/issues/comments/162875902","html_url":"https://github.com/qgis/QGIS/pull/1529#issuecomment-162875902","issue_url":"https://api.github.com/repos/qgis/QGIS/issues/1529","id":162875902,"user":{"login":"elpaso","id":142164,"avatar_url":"https://avatars.githubusercontent.com/u/142164?v=3","gravatar_id":"","url":"https://api.github.com/users/elpaso","html_url":"https://github.com/elpaso","followers_url":"https://api.github.com/users/elpaso/followers","following_url":"https://api.github.com/users/elpaso/following{/other_user}","gists_url":"https://api.github.com/users/elpaso/gists{/gist_id}","starred_url":"https://api.github.com/users/elpaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elpaso/subscriptions","organizations_url":"https://api.github.com/users/elpaso/orgs","repos_url":"https://api.github.com/users/elpaso/repos","events_url":"https://api.github.com/users/elpaso/events{/privacy}","received_events_url":"https://api.github.com/users/elpaso/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T13:14:03Z","updated_at":"2015-12-08T13:14:03Z","body":"As long as you have a single table, you don't need any class to style it, it will probably go into an (I)FRAME and it will catch the CSS rules without conflicts.\r\nIMHO this PR has to be rejected completely, hardcoding a CSS and distributing it is not the way to go.\r\nIf (and I'm not convinced it worths) you really want to add styles-support in the getfeatureinfo HTML response you should probably add some config options to the OWS per-layer configuration for adding an href or a code block for custom inline CSS, or both.\r\nOr even better, add a templating system to fully configure the HTML response.\r\nIf there is such demand and you/someone is willing to implement it, a QEP might be the right place to discuss a proposal."}}