X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/df9e166a5ffc4aa79658bec1a5d552a3b413f0d8..e48478841828b1dbab8b69eb9453db23b42ed63f:/apps/workbench/app/views/user_agreements/index.html.erb diff --git a/apps/workbench/app/views/user_agreements/index.html.erb b/apps/workbench/app/views/user_agreements/index.html.erb index 4c80cafd8d..d52ad649c9 100644 --- a/apps/workbench/app/views/user_agreements/index.html.erb +++ b/apps/workbench/app/views/user_agreements/index.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% content_for :breadcrumbs do raw '' end %> <% n_files = unsigned_user_agreements.collect(&:files).flatten(1).count %> @@ -15,7 +19,7 @@ User agreements
Please check <%= n_files > 1 ? 'each' : 'the' %> box below to indicate that you have read and accepted the user agreement<%= 's' if n_files > 1 %>.
- <% if n_files == 1 and (Rails.configuration.show_user_agreement_inline rescue false) %> + <% if n_files == 1 and (Rails.configuration.Workbench.ShowUserAgreementInline rescue false) %> <% ua = unsigned_user_agreements.first; file = ua.files.first %> " type="<%= Rack::Mime::MIME_TYPES[file[1].match(/\.\w+$/)[0]] rescue '' %>" width="100%" height="400px">