{"action":"closed","issue":{"url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/issues/79","labels_url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/issues/79/comments","events_url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/issues/79/events","html_url":"https://github.com/aic-collections/aicdams-lakeshore/issues/79","id":100341952,"number":79,"title":"Assets table / manager","user":{"login":"scossu","id":4306733,"avatar_url":"https://avatars.githubusercontent.com/u/4306733?v=3","gravatar_id":"","url":"https://api.github.com/users/scossu","html_url":"https://github.com/scossu","followers_url":"https://api.github.com/users/scossu/followers","following_url":"https://api.github.com/users/scossu/following{/other_user}","gists_url":"https://api.github.com/users/scossu/gists{/gist_id}","starred_url":"https://api.github.com/users/scossu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scossu/subscriptions","organizations_url":"https://api.github.com/users/scossu/orgs","repos_url":"https://api.github.com/users/scossu/repos","events_url":"https://api.github.com/users/scossu/events{/privacy}","received_events_url":"https://api.github.com/users/scossu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/labels/MEDIUM%20priority","name":"MEDIUM priority","color":"fbca04"},{"url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/labels/presentation","name":"presentation","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/milestones/4","html_url":"https://github.com/aic-collections/aicdams-lakeshore/milestones/1.0%20alpha3","labels_url":"https://api.github.com/repos/aic-collections/aicdams-lakeshore/milestones/4/labels","id":1140244,"number":4,"title":"1.0 alpha3","description":"Content model for all types","creator":{"login":"scossu","id":4306733,"avatar_url":"https://avatars.githubusercontent.com/u/4306733?v=3","gravatar_id":"","url":"https://api.github.com/users/scossu","html_url":"https://github.com/scossu","followers_url":"https://api.github.com/users/scossu/followers","following_url":"https://api.github.com/users/scossu/following{/other_user}","gists_url":"https://api.github.com/users/scossu/gists{/gist_id}","starred_url":"https://api.github.com/users/scossu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scossu/subscriptions","organizations_url":"https://api.github.com/users/scossu/orgs","repos_url":"https://api.github.com/users/scossu/repos","events_url":"https://api.github.com/users/scossu/events{/privacy}","received_events_url":"https://api.github.com/users/scossu/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":2,"state":"open","created_at":"2015-05-29T15:32:45Z","updated_at":"2015-09-02T20:44:15Z","due_on":"2015-09-18T05:00:00Z","closed_at":null},"comments":2,"created_at":"2015-08-11T15:43:03Z","updated_at":"2015-09-02T20:44:15Z","closed_at":"2015-09-02T20:44:15Z","body":"- Create a partial view with a table that displays all the assets related to a resource\r\n- The table should look for the following properties on the interested resource:\r\n  - `aic:hasAsset`\r\n  - `aic:hasDocument`\r\n  - `aic:hasRepresentation`\r\n  - `aic:hasPreferredRepresentation`\r\n- Add this table to all the view pages for Works (Objects) and Assets (assets can have related assets as well).\r\n- The table contains the following fields: \r\n  - Asset thumbnail\r\n  - Relationship (human-readable label of relationship property)\r\n  - Asset ID with link to asset view page\r\n  - Asset type (text, still image, etc.)\r\n  - Button to remove the relationship if current user has write permissions to resource\r\n- Add a field above the table to allow adding relationships and a submit button (if user has write permissions). If one or more relationships are added, refresh the page "}}