{"action":"created","issue":{"url":"https://api.github.com/repos/adaptlearning/adapt-contrib-boxmenu/issues/36","labels_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-boxmenu/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-boxmenu/issues/36/comments","events_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-boxmenu/issues/36/events","html_url":"https://github.com/adaptlearning/adapt-contrib-boxmenu/pull/36","id":60075642,"number":36,"title":"Externalise the duration label","user":{"login":"LukaszGrela","id":7643591,"avatar_url":"https://avatars.githubusercontent.com/u/7643591?v=3","gravatar_id":"","url":"https://api.github.com/users/LukaszGrela","html_url":"https://github.com/LukaszGrela","followers_url":"https://api.github.com/users/LukaszGrela/followers","following_url":"https://api.github.com/users/LukaszGrela/following{/other_user}","gists_url":"https://api.github.com/users/LukaszGrela/gists{/gist_id}","starred_url":"https://api.github.com/users/LukaszGrela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukaszGrela/subscriptions","organizations_url":"https://api.github.com/users/LukaszGrela/orgs","repos_url":"https://api.github.com/users/LukaszGrela/repos","events_url":"https://api.github.com/users/LukaszGrela/events{/privacy}","received_events_url":"https://api.github.com/users/LukaszGrela/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-06T08:59:30Z","updated_at":"2015-03-11T15:21:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adaptlearning/adapt-contrib-boxmenu/pulls/36","html_url":"https://github.com/adaptlearning/adapt-contrib-boxmenu/pull/36","diff_url":"https://github.com/adaptlearning/adapt-contrib-boxmenu/pull/36.diff","patch_url":"https://github.com/adaptlearning/adapt-contrib-boxmenu/pull/36.patch"},"body":"It was obviously missed that any text displayed should be externalised into JSON files, I've pulled out the \"Duration:\" label into `durationLabel` property.\r\n\r\n    {\r\n        \"_id\":\"co-01\",\r\n        \"_parentId\":\"course\",\r\n        \"_type\":\"page\",\r\n        \"linkText\":\"View\",\r\n        \"durationLabel\":\"Duration:\",\r\n        \"duration\":\"5 mins\"\r\n    },"},"comment":{"url":"https://api.github.com/repos/adaptlearning/adapt-contrib-boxmenu/issues/comments/78284444","html_url":"https://github.com/adaptlearning/adapt-contrib-boxmenu/pull/36#issuecomment-78284444","issue_url":"https://api.github.com/repos/adaptlearning/adapt-contrib-boxmenu/issues/36","id":78284444,"user":{"login":"taylortom","id":1059083,"avatar_url":"https://avatars.githubusercontent.com/u/1059083?v=3","gravatar_id":"","url":"https://api.github.com/users/taylortom","html_url":"https://github.com/taylortom","followers_url":"https://api.github.com/users/taylortom/followers","following_url":"https://api.github.com/users/taylortom/following{/other_user}","gists_url":"https://api.github.com/users/taylortom/gists{/gist_id}","starred_url":"https://api.github.com/users/taylortom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylortom/subscriptions","organizations_url":"https://api.github.com/users/taylortom/orgs","repos_url":"https://api.github.com/users/taylortom/repos","events_url":"https://api.github.com/users/taylortom/events{/privacy}","received_events_url":"https://api.github.com/users/taylortom/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T15:21:15Z","updated_at":"2015-03-11T15:21:15Z","body":"We might want to add a fallback for older courses that don't use the `durationLabel`\r\n"}}