diff --git a/app/views/static_pages/termsuse.html.erb b/app/views/static_pages/termsuse.html.erb index 0eac1dd..f321d9f 100644 --- a/app/views/static_pages/termsuse.html.erb +++ b/app/views/static_pages/termsuse.html.erb @@ -7,14 +7,12 @@
-

The <%= link_to 'Digital Curation Centre', 'https://dmponline.dcc.ac.uk/' %> (DCC) and the <%= link_to 'California Digital Library', 'http://www.cdlib.org/' %> +

The <%= link_to 'Digital Curation Centre', 'https://dmponline.dcc.ac.uk/' %> (DCC) and <%= link_to 'California Digital Library', 'http://www.cdlib.org/' %> <%= _("(CDL) are consortia supported by the University of Edinburgh and the University of California, respectively. Our primary constituency is the research community. We provide services to the UK, US and international higher education sector. ") %>

-

<%= _(" %{application_name} ") % {:application_name => Rails.configuration.branding[:application][:name]} %>

+

<%= _('DMPRoadmap') %>

-

<%= _("DMPRoadmap ('the tool', 'the system') is a tool developed by the DCC and CDL as a shared resource for the research community. It is hosted at ") %> - - <%= _(" %{organisation_name} ") % { :organisation_name => Rails.configuration.branding[:organisation][:name]} %>

+

<%= _("DMPRoadmap ('the tool', 'the system') is a tool developed by the DCC and CDL as a shared resource for the research community. It is hosted at CDL by the University of California Curation Center.") %>

<%= raw _("

Your personal details and consent notice

@@ -36,7 +34,7 @@

Cookies

-

Please note that %{application_name} uses Cookies. Further information about Cookies and how we use them is available on the main DCC website.

+

Please note that DMPRoadmap uses Cookies. Further information about Cookies and how we use them is available on the main DCC website.

Third party APIs

@@ -44,7 +42,7 @@

Revisions

-

This statement was last revised on October 5, 2017 and may be revised at any time. Use of the tool indicates that you understand and agree to these terms and conditions.

" )%> +

This statement was last revised on October 5, 2017 and may be revised at any time. Use of the tool indicates that you understand and agree to these terms and conditions.

" ) %>
\ No newline at end of file diff --git a/lib/assets/javascripts/utils/ariatiseForm.js b/lib/assets/javascripts/utils/ariatiseForm.js index 00705a2..1ecb370 100644 --- a/lib/assets/javascripts/utils/ariatiseForm.js +++ b/lib/assets/javascripts/utils/ariatiseForm.js @@ -102,6 +102,8 @@ switch (type) { case 'text': return validator.isValidText(value); + case 'textarea': + return validator.isValidText(value); case 'number': return validator.isValidNumber(value); case 'email': @@ -121,6 +123,8 @@ switch (type) { case 'text': return constants.VALIDATION_MESSAGE_TEXT; + case 'textarea': + return constants.VALIDATION_MESSAGE_TEXT; case 'number': return constants.VALIDATION_MESSAGE_NUMBER; case 'email':