diff --git a/lib/views/alaveteli_pro/pages/_legal.html.erb b/lib/views/alaveteli_pro/pages/_legal.html.erb index 29af7aa7..2a543a68 100644 --- a/lib/views/alaveteli_pro/pages/_legal.html.erb +++ b/lib/views/alaveteli_pro/pages/_legal.html.erb @@ -38,6 +38,12 @@ Usage +
+ Commercial and for-profit use of WhatDoTheyKnow requires a + <%= link_to 'WhatDoTheyKnow Pro', account_request_index_path %> + subscription. +
+We reserve the right to block, without warning, usage which violates any of our House Rules. diff --git a/lib/views/help/house_rules.html.erb b/lib/views/help/house_rules.html.erb index b6c6f5ee..77e6170a 100644 --- a/lib/views/help/house_rules.html.erb +++ b/lib/views/help/house_rules.html.erb @@ -22,7 +22,8 @@ guidance on this type of request.
If you break these rules, you could be banned from the site. We may also remove your requests or annotations. We'll usually contact you first to give advice on how to use the service better.
diff --git a/lib/views/user/_signup.html.erb b/lib/views/user/_signup.html.erb new file mode 100644 index 00000000..7d483f4b --- /dev/null +++ b/lib/views/user/_signup.html.erb @@ -0,0 +1,78 @@ ++ + + <%= text_field 'user_signup', 'name', size: 20, tabindex: 10, autocomplete: 'off' %> +
+ ++ + + <%= text_field 'user_signup', 'email', size: 20, tabindex: 20 %> +
+ ++ + + <%= password_field 'user_signup', 'password', size: 15, tabindex: 30, autocomplete: 'off' %> +
+ ++ + + <%= password_field 'user_signup', 'password_confirmation', size: 15, tabindex: 40, autocomplete: 'off' %> +
+ + <% if @request_from_foreign_country %> + <%= recaptcha_tags %> + <% end %> + + + ++ <%= _('You have hit the rate limit on new requests. Users are ordinarily ' \ + 'limited to {{max_requests_per_user_per_day}} requests in any ' \ + 'rolling 24-hour period. You will be able to make another request ' \ + 'in {{can_make_another_request}}.', + max_requests_per_user_per_day: AlaveteliConfiguration.max_requests_per_user_per_day, + can_make_another_request: distance_of_time_in_words(Time.zone.now, @next_request_permitted_at)) %> +
+ ++ <%= _('There is a limit on the number of requests you can make in a day, ' \ + 'because we don’t want public authorities to be bombarded with ' \ + 'large numbers of inappropriate requests. If you feel you have a ' \ + 'good reason to ask for the limit to be lifted in your case, ' \ + 'please get in touch.', + help_contact_path: help_contact_path) %> +
+ +<% if feature_enabled?(:alaveteli_pro) %> ++ <%= _('Journalist, Campaigner or Researcher? ' \ + '{{pro_site_link}} is an all-in-one FOI toolkit including ' \ + 'everything you need to keep on top of complex FOI-driven ' \ + 'investigations.', + pro_site_link: link_to(pro_site_name, account_request_index_path)) %> +
+ ++ <%= _('Commercial and for-profit use requires a ' \ + '{{pro_site_link}} subscription.', + pro_site_link: link_to(pro_site_name, account_request_index_path)) %> +
+<% end %> + +<% if @info_request %> ++ <%= _('Here is the message you wrote, in case you would like to copy ' \ + 'the text and save it for later.') %> +
+ +