{"action":"created","issue":{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/23","repository_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype","labels_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/23/comments","events_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/23/events","html_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/pull/23","id":144901854,"number":23,"title":"first version of community and collection homepages","user":{"login":"artlowel","id":1567693,"avatar_url":"https://avatars.githubusercontent.com/u/1567693?v=3","gravatar_id":"","url":"https://api.github.com/users/artlowel","html_url":"https://github.com/artlowel","followers_url":"https://api.github.com/users/artlowel/followers","following_url":"https://api.github.com/users/artlowel/following{/other_user}","gists_url":"https://api.github.com/users/artlowel/gists{/gist_id}","starred_url":"https://api.github.com/users/artlowel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artlowel/subscriptions","organizations_url":"https://api.github.com/users/artlowel/orgs","repos_url":"https://api.github.com/users/artlowel/repos","events_url":"https://api.github.com/users/artlowel/events{/privacy}","received_events_url":"https://api.github.com/users/artlowel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/labels/needs%20review","name":"needs review","color":"006b75"},{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/labels/ready","name":"ready","color":"26CEFE"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-31T13:30:30Z","updated_at":"2016-04-05T12:45:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/pulls/23","html_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/pull/23","diff_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/pull/23.diff","patch_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/pull/23.patch"},"body":"This PR connects to #14 and connects to #15.\r\nIt adds a shared component to render title, logo, intro-text, news and copyright text on community and collection homepages.\r\nIt also adds first stabs at models for most DSO's \r\nThere is still a lot of room for improvement:\r\n- Templates are inlined\r\n- I didn't find a way to import libraries that don't export an ES6 module without reverting to the `require()` syntax. See [this issue](https://github.com/preboot/angular2-webpack/issues/9#issuecomment-170404632). I know it's possible though, I've seen it work for underscore in another angular 2/webpack project.\r\n- the models don't have all their properties yet, just the ones I needed.\r\n- I didn't modify any of the existing code to work with the model classes, they still work with the JSON objects\r\n- Bitstream retrieveLinks have a hardcoded URL to the REST API added to them.\r\n- The model classes parse their own json, basically equivalent to how Java DSO's used to parse their own table-rows. We're probably better of separating that out.\r\n- …\r\n"},"comment":{"url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/comments/205783312","html_url":"https://github.com/DSpace-Labs/angular2-ui-prototype/pull/23#issuecomment-205783312","issue_url":"https://api.github.com/repos/DSpace-Labs/angular2-ui-prototype/issues/23","id":205783312,"user":{"login":"wellingWilliam","id":16831046,"avatar_url":"https://avatars.githubusercontent.com/u/16831046?v=3","gravatar_id":"","url":"https://api.github.com/users/wellingWilliam","html_url":"https://github.com/wellingWilliam","followers_url":"https://api.github.com/users/wellingWilliam/followers","following_url":"https://api.github.com/users/wellingWilliam/following{/other_user}","gists_url":"https://api.github.com/users/wellingWilliam/gists{/gist_id}","starred_url":"https://api.github.com/users/wellingWilliam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wellingWilliam/subscriptions","organizations_url":"https://api.github.com/users/wellingWilliam/orgs","repos_url":"https://api.github.com/users/wellingWilliam/repos","events_url":"https://api.github.com/users/wellingWilliam/events{/privacy}","received_events_url":"https://api.github.com/users/wellingWilliam/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T12:45:40Z","updated_at":"2016-04-05T12:45:40Z","body":"LGTM"}}