Support user agreement viewing and signing in Workbench.
authorTom Clegg <tom@curoverse.com>
Mon, 30 Dec 2013 14:09:49 +0000 (06:09 -0800)
committerTom Clegg <tom@curoverse.com>
Mon, 30 Dec 2013 22:35:02 +0000 (14:35 -0800)
commit8cad6cfa7495231768347535835efa96166f8f79
tree707509a4f17ffc05a3d708a172b8d23eddc98f48
parentecdb71755fe9b30efc5aa6a51489210f859165af
Support user agreement viewing and signing in Workbench.

refs #1699
14 files changed:
apps/workbench/app/assets/javascripts/user_agreements.js.coffee [new file with mode: 0644]
apps/workbench/app/assets/stylesheets/user_agreements.css.scss [new file with mode: 0644]
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/controllers/collections_controller.rb
apps/workbench/app/controllers/user_agreements_controller.rb [new file with mode: 0644]
apps/workbench/app/helpers/user_agreements_helper.rb [new file with mode: 0644]
apps/workbench/app/models/user.rb
apps/workbench/app/models/user_agreement.rb [new file with mode: 0644]
apps/workbench/app/views/application/_force_user_agreement.html.erb [new file with mode: 0644]
apps/workbench/app/views/layouts/application.html.erb
apps/workbench/config/routes.rb
apps/workbench/test/functional/user_agreements_controller_test.rb [new file with mode: 0644]
apps/workbench/test/unit/helpers/user_agreements_helper_test.rb [new file with mode: 0644]
apps/workbench/test/unit/user_agreement_test.rb [new file with mode: 0644]