diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index f5fadfb..27db57a 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,12 +1,20 @@ -
<%= f.label :password %>
- <%= f.password_field :password %>
<%= f.label :password_confirmation %>
- <%= f.password_field :password_confirmation %>
<%= f.submit t("devise.invitations.edit.submit_button") %>
- <% end %> -<%= f.label :password %>
+ <%= f.password_field :password %>
<%= f.label :password_confirmation %>
+ <%= f.password_field :password_confirmation %>
<%= f.submit t("devise.invitations.edit.submit_button") %>
+ <% end %> +<%= f.label field %>
- <%= f.text_field field %>
<%= f.submit t("devise.invitations.new.submit_button") %>
- <% end %> +<%= f.label field %>
+ <%= f.text_field field %>
<%= f.submit t("devise.invitations.new.submit_button") %>
+ <% end %> +| <%= t('helpers.new_password') %> | -<%= f.password_field :password, :autofocus => true %> | -
| <%= t('helpers.password') %> | -<%= f.password_field :password_confirmation %> | -
| <%= t('helpers.new_password') %> | +<%= f.password_field :password, :autofocus => true %> | +
| <%= t('helpers.password') %> | +<%= f.password_field :password_confirmation %> | +
<%= _('The email address you entered is not registered.') %>
-<% end %> +<%= _('The email address you entered is not registered.') %>
+ <% end %> + +<%= _('Please enter your email below and we will send you instructions on how to reset your password.') %>
+<%= _('Please enter your email below and we will send you instructions on how to reset your password.') %>
+
- <%= (_("%{application_name} doesn't recognise your institutional credentials - either you haven't created an account with us or you haven't linked these details to your existing account.
* If you do not have an account with %{application_name}, please complete the form below.
* If you have an account with %{application_name}, please so we can link your account to your institutional credentials.
Once you have created and/or linked your account, you'll be able to sign in with your institutional credentials directly.") % { :application_name => Rails.configuration.branding[:application][:name] }).html_safe %>
-
+ <%= (_("%{application_name} doesn't recognise your institutional credentials - either you haven't created an account with us or you haven't linked these details to your existing account.
* If you do not have an account with %{application_name}, please complete the form below.
* If you have an account with %{application_name}, please so we can link your account to your institutional credentials.
Once you have created and/or linked your account, you'll be able to sign in with your institutional credentials directly.") % { :application_name => Rails.configuration.branding[:application][:name] }).html_safe %>
+
| <%= _('Email') %> | -<%= f.email_field :email, :autofocus => true %> | -
| <%= _('Password') %> | -<%= f.password_field :password %> | -
| - | <% if devise_mapping.rememberable? -%>
-
- <%= f.check_box :remember_me %>
- <%= f.label :remember_me %>
-
- <% end -%>
- |
-
| <%= _('Email') %> | +<%= f.email_field :email, :autofocus => true %> | +
| <%= _('Password') %> | +<%= f.password_field :password %> | +
| + | <% if devise_mapping.rememberable? -%>
+
+ <%= f.check_box :remember_me %>
+ <%= f.label :remember_me %>
+
+ <% end -%>
+ |
+
- <%= _("First create a guidance group. This could be institution wide or a subset e.g. a particular College / School, Institute or department. When you create guidance you'll be asked to assign it to a guidance group.") %> -
++ <%= _("First create a guidance group. This could be institution wide or a subset e.g. a particular College / School, Institute or department. When you create guidance you'll be asked to assign it to a guidance group.") %> +
+
<%= render(partial: "shared/table_filter",
diff --git a/app/views/guidances/admin_new.html.erb b/app/views/guidances/admin_new.html.erb
index 9f4899a..42240e7 100644
--- a/app/views/guidances/admin_new.html.erb
+++ b/app/views/guidances/admin_new.html.erb
@@ -1,7 +1,11 @@
<% javascript 'views/guidances/admin_edit.js' %>
-<%= _('New guidance') %>+
+
+
+<%= _('New guidance') %>+
diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb
index ac6511e..d66a5a5 100644
--- a/app/views/home/index.html.erb
+++ b/app/views/home/index.html.erb
@@ -2,7 +2,11 @@
<%= _('Welcome.')%>+
+
<%= raw _(' %{application_name} has been jointly developed by the %{organisation_name} to help you write data management plans. ') % {:application_name => Rails.configuration.branding[:application][:name], :organisation_name => Rails.configuration.branding[:organisation][:name]} %><%= _('Screencast on how to use %{application_name}') % {:application_name => Rails.configuration.branding[:application][:name]} %> diff --git a/app/views/orgs/admin_edit.html.erb b/app/views/orgs/admin_edit.html.erb index f823dee..a1c18f5 100644 --- a/app/views/orgs/admin_edit.html.erb +++ b/app/views/orgs/admin_edit.html.erb @@ -1,6 +1,10 @@ <% javascript 'views/orgs/admin_edit.js' %> -<%= _('Organisation details') %>+
+
+
+<%= _('Organisation details') %>+
diff --git a/app/views/orgs/shibboleth_ds.html.erb b/app/views/orgs/shibboleth_ds.html.erb
index 3baca32..4d6ee9d 100644
--- a/app/views/orgs/shibboleth_ds.html.erb
+++ b/app/views/orgs/shibboleth_ds.html.erb
@@ -1,6 +1,10 @@
<% javascript 'views/orgs/shibboleth_ds.js'%>
- Find your institution to sign in+
+
+
+Find your institution to sign in+
diff --git a/app/views/phases/admin_add.html.erb b/app/views/phases/admin_add.html.erb
index 9326e00..6dabbe7 100644
--- a/app/views/phases/admin_add.html.erb
+++ b/app/views/phases/admin_add.html.erb
@@ -1,7 +1,11 @@
<%- model_class = Phase -%>
<% javascript "admin.js" %>
- <%= @template.title %>+
+
+
+<%= @template.title %>+
diff --git a/app/views/phases/admin_preview.html.erb b/app/views/phases/admin_preview.html.erb
index 0b7f689..0e7466a 100644
--- a/app/views/phases/admin_preview.html.erb
+++ b/app/views/phases/admin_preview.html.erb
@@ -1,60 +1,64 @@
<%- model_class = Phase -%>
-
- <%= @template.title %>
-
-
+
+
-
+
+ <%= @template.title %>
+
+
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| + <%= render(partial: "shared/table_filter", + locals: {path: plans_path, placeholder: _('Filter plans')}) %> + | +|||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - <%= render(partial: "shared/table_filter", - locals: {path: plans_path, placeholder: _('Filter plans')}) %> - | +<%= _('Project Title') %> | +<%= _('Template') %> | +<%= _('Edited') %> | +<%= _('Role') %> | +<%= _('Test') %> | +<%= _('Visibility') %> | ++ <%= _('Actions') %> + | ||||||
| <%= _('Project Title') %> | -<%= _('Template') %> | -<%= _('Edited') %> | -<%= _('Role') %> | -<%= _('Test') %> | -<%= _('Visibility') %> | -- <%= _('Actions') %> - | -|||||||
| - <%= link_to "#{plan.title.length > 60 ? "#{plan.title[0..59]} ..." : plan.title}", - plan_path(plan) %> - | -<%= plan.template.title %> | -<%= l(plan.latest_update.to_date, formats: :short) %> | -<%= display_role(plan.roles.find_by(user: current_user)) %> | -- <% if plan.administerable_by?(current_user.id) then %> - <%= plan.administerable_by?(current_user.id) ? '' : 'disabled="true"' %> /> - <% else %> - <%= plan.visibility === 'is_test' ? _('Yes') : _('No') %> - <% end %> - | -<%= raw display_visibility(plan.visibility) %> | -
-
- <%= _('Actions') %>
-
-
+ <%= link_to "#{plan.title.length > 60 ? "#{plan.title[0..59]} ..." : plan.title}",
+ plan_path(plan) %>
+ |
+ <%= plan.template.title %> |
+ <%= l(plan.latest_update.to_date, formats: :short) %> |
+ <%= display_role(plan.roles.find_by(user: current_user)) %> |
+
+ <% if plan.administerable_by?(current_user.id) then %>
+ <%= plan.administerable_by?(current_user.id) ? '' : 'disabled="true"' %> />
<% else %>
- |
- | ||
- <%= _("Before you get started, we need some information about your research project to set you up with the best DMP template for your needs.") %> -
++ <%= _("Before you get started, we need some information about your research project to set you up with the best DMP template for your needs.") %> +
+
<%= render(partial: "shared/table_filter",
diff --git a/app/views/public_pages/template_index.html.erb b/app/views/public_pages/template_index.html.erb
index b6316af..e49f7a1 100644
--- a/app/views/public_pages/template_index.html.erb
+++ b/app/views/public_pages/template_index.html.erb
@@ -1,4 +1,8 @@
-<%= raw _('DMP Templates') %>+
+
+
+<%= raw _('DMP Templates') %>+
@@ -12,7 +16,7 @@
|