shwstppr commented on a change in pull request #312: URL: https://github.com/apache/cloudstack-primate/pull/312#discussion_r414478915
########## File path: src/config/section/infra/routers.js ########## @@ -102,7 +102,8 @@ export default { targetid: { value: (record) => { return record.id } } - } + }, + response: (result) => { return ((result && result.diagnostics && result && result.diagnostics.url && `Please click the link to download the retrieved diagnostics: <p><a href='${result.diagnostics.url}'>${result.diagnostics.url}</a></p>`) || 'Invalid response') } Review comment: @rhtyd can we perform the translation in JS files? I've to use string key from here, get the translated string and then replace URL. ELse I'll have to add code in Autogen to explicitly address this API response ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org