{"action":"opened","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/4402","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/4402/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/4402/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/4402/events","html_url":"https://github.com/grafana/grafana/issues/4402","id":141673470,"number":4402,"title":"Condtiional Header for Add Data Source","user":{"login":"mattttt","id":2886187,"avatar_url":"https://avatars.githubusercontent.com/u/2886187?v=3","gravatar_id":"","url":"https://api.github.com/users/mattttt","html_url":"https://github.com/mattttt","followers_url":"https://api.github.com/users/mattttt/followers","following_url":"https://api.github.com/users/mattttt/following{/other_user}","gists_url":"https://api.github.com/users/mattttt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattttt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattttt/subscriptions","organizations_url":"https://api.github.com/users/mattttt/orgs","repos_url":"https://api.github.com/users/mattttt/repos","events_url":"https://api.github.com/users/mattttt/events{/privacy}","received_events_url":"https://api.github.com/users/mattttt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grafana/grafana/labels/type:%20bug","name":"type: bug","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-17T18:44:27Z","updated_at":"2016-03-17T18:44:27Z","closed_at":null,"body":"The conditional logic is in the file, but not being properly displayed for add data source:\r\n\r\n```\r\n\t\t<h1 ng-show=\"isNew\">Add data source</h1>\r\n\t\t<h1 ng-show=\"!isNew\">Edit data source</h1>\r\n```\r\nhttps://github.com/grafana/grafana/blob/master/public/app/features/plugins/partials/ds_edit.html#L7\r\n\r\n![new-datasource](https://cloud.githubusercontent.com/assets/2886187/13857091/b462599a-ec4e-11e5-895d-861a98e26e02.gif)\r\n"}}