{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/smart-answers/issues/1658","labels_url":"https://api.github.com/repos/alphagov/smart-answers/issues/1658/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/smart-answers/issues/1658/comments","events_url":"https://api.github.com/repos/alphagov/smart-answers/issues/1658/events","html_url":"https://github.com/alphagov/smart-answers/pull/1658","id":80925523,"number":1658,"title":"Use erb templates for additional commodity code outcome titles","user":{"login":"chrisroos","id":6556,"avatar_url":"https://avatars.githubusercontent.com/u/6556?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisroos","html_url":"https://github.com/chrisroos","followers_url":"https://api.github.com/users/chrisroos/followers","following_url":"https://api.github.com/users/chrisroos/following{/other_user}","gists_url":"https://api.github.com/users/chrisroos/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisroos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisroos/subscriptions","organizations_url":"https://api.github.com/users/chrisroos/orgs","repos_url":"https://api.github.com/users/chrisroos/repos","events_url":"https://api.github.com/users/chrisroos/events{/privacy}","received_events_url":"https://api.github.com/users/chrisroos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-26T11:44:06Z","updated_at":"2015-05-26T15:19:01Z","closed_at":"2015-05-26T15:15:32Z","pull_request":{"url":"https://api.github.com/repos/alphagov/smart-answers/pulls/1658","html_url":"https://github.com/alphagov/smart-answers/pull/1658","diff_url":"https://github.com/alphagov/smart-answers/pull/1658.diff","patch_url":"https://github.com/alphagov/smart-answers/pull/1658.patch"},"body":"I've introduced support for using ERB templates to render Outcome titles, and updated the additional-commodity-code Smart Answer to use an ERB template.\r\n\r\nThere's currently some duplication between `OutcomePresenter#title` and `OutcomePresenter#body` but I plan to address that separately."},"comment":{"url":"https://api.github.com/repos/alphagov/smart-answers/issues/comments/105563580","html_url":"https://github.com/alphagov/smart-answers/pull/1658#issuecomment-105563580","issue_url":"https://api.github.com/repos/alphagov/smart-answers/issues/1658","id":105563580,"user":{"login":"floehopper","id":3169,"avatar_url":"https://avatars.githubusercontent.com/u/3169?v=3","gravatar_id":"","url":"https://api.github.com/users/floehopper","html_url":"https://github.com/floehopper","followers_url":"https://api.github.com/users/floehopper/followers","following_url":"https://api.github.com/users/floehopper/following{/other_user}","gists_url":"https://api.github.com/users/floehopper/gists{/gist_id}","starred_url":"https://api.github.com/users/floehopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floehopper/subscriptions","organizations_url":"https://api.github.com/users/floehopper/orgs","repos_url":"https://api.github.com/users/floehopper/repos","events_url":"https://api.github.com/users/floehopper/events{/privacy}","received_events_url":"https://api.github.com/users/floehopper/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T15:19:01Z","updated_at":"2015-05-26T15:19:01Z","body":"We just spoke about this, but I thought it was worth recording that the motivation behind making this change was so that we could remove **all** the outcome-related keys from the locale file."}}