4465: add API/Workbench Github links to help modal
authorTim Pierce <twp@curoverse.com>
Wed, 3 Dec 2014 16:56:08 +0000 (11:56 -0500)
committerTim Pierce <twp@curoverse.com>
Wed, 3 Dec 2014 17:00:35 +0000 (12:00 -0500)
commit3374f67bfe90aeae87389ca323a3bfac123ac7ea
tree9fa9d8706b946103a34638bb0f512a4ba4cbe9e7
parent994fa4569b8da43486719ce0da770ab1887b24b9
4465: add API/Workbench Github links to help modal

Updated the help modal dialog to use the following links for API version
and Workbench version:

https://github.com/curoverse/arvados/tree/#{api_version}/services/api
https://github.com/curoverse/arvados/tree/#{wb_version}/apps/workbench

Refactored some code into a VersionHelper to simplify testing.

Also updated the Rails.configuration.source_version settings for both
API server and Workbench to strip trailing newlines (which were
screwing up the URLs).
apps/workbench/app/helpers/application_helper.rb
apps/workbench/app/helpers/version_helper.rb [new file with mode: 0644]
apps/workbench/app/views/application/_report_issue_popup.html.erb
apps/workbench/config/application.default.yml
apps/workbench/test/integration/report_issue_test.rb
services/api/config/application.default.yml