diff --git a/app/views/projects/_dropdowns_new_project.html.erb b/app/views/projects/_dropdowns_new_project.html.erb index 55d069c..87add23 100644 --- a/app/views/projects/_dropdowns_new_project.html.erb +++ b/app/views/projects/_dropdowns_new_project.html.erb @@ -3,39 +3,39 @@ <%= f.inputs do %> <%= hidden_field_tag :default_tag, "false" ,:id => "default_tag" %>
<%= raw t('helpers.project.create_page.desc_html')%>
+<%= raw _("
Please select from the following drop-downs so we can determine what questions and guidance should be displayed in your plan.
If you aren't responding to specific requirements from a funder or an institution, select here to write a generic DMP based on the most common themes.
")%>- <%= t('helpers.project.project_details_text_html')%> + <%= _('This page gives you an overview of your plan. It tells what your plan is based on and gives an overview of the questions that you will be asked.')%>
| <%= t('helpers.project.project_name') %> | +<%= _('Plan name') %> | <%= @project.title %> | |
| <%= t('helpers.project.project_identifier') %> | +<%= _('ID') %> | <% if !@project.identifier.nil? && @project.identifier != "" then %> <%= @project.identifier %> @@ -31,7 +31,7 @@ | |
| <%= t('helpers.project.grant_title') %> | +<%= _('Grant number') %> | <% if !@project.grant_number.nil? && @project.grant_number!= "" then %> <%= @project.grant_number %> @@ -41,7 +41,7 @@ | |
| <%= t('helpers.project.principal_investigator') %> | +<%= _('Principal Investigator/Researcher') %> | <% if !@project.principal_investigator.nil? && @project.principal_investigator != "" then %> <%= @project.principal_investigator %> <%else%> @@ -51,14 +51,14 @@ | |
| <%= t('helpers.project.principal_investigator_id') %> | +<%= _('Principal Investigator/Researcher ID') %> | <%= @project.principal_investigator_identifier %> | |
| <%= t('helpers.project.project_data_contact') %> | +<%= _('Plan data contact') %> | <% if !@project.data_contact.nil? && @project.data_contact != "" then%> <%= @project.data_contact %> <%else%> @@ -67,7 +67,7 @@ | |
| <%= t('helpers.desc') %> | +<%= _('Description') %> | <% if !@project.description.nil? && @project.description != "" then%> <%= @project.description %> <%else%> @@ -76,8 +76,8 @@ | |
| <%= t('helpers.project.visibility') %> | -<%= (@project.is_test? ? t("helpers.project.visibilities.help_texts.is_test") : (@project.organisationally_visible? ? t("helpers.project.visibilities.help_texts.organisationally_visible") : (@project.publicly_visible? ? t("helpers.project.visibilities.help_texts.publicly_visible") : (@project.privately_visible? ? t("helpers.project.visibilities.help_texts.privately_visible") : "Defaulting to: #{t("helpers.project.visibilities.help_texts.not_set")}")))) %> | +<%= _('Visibility') %> | +<%= (@project.is_test? ? _('Test/Practice (your plan is not visible to other users) See our Terms of Use.') : (@project.organisationally_visible? ? _('Organisational (visibile to others within your organisation)') : (@project.publicly_visible? ? _('Public (Your DMP will appear on the Public DMPs page of this site)') : (@project.privately_visible? ? _('Private (owners, co-owners, and administrators only) See our Terms of Use.') : "Defaulting to: #{_('Not specified (will be visible to others within your organisation by default)')}")))) %> |
- <%= raw t('helpers.project.project_details_editing_text_html')%> + <%= raw _("Please fill in the basic project details below and click 'Update' to save")%>
| <%= t('helpers.project.project_name') %> | +<%= _('Plan name') %> | - <%= f.text_field :title, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => t('helpers.project.project_name_help_text') %> + <%= f.text_field :title, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => _('If applying for funding, state the name exactly as in the grant proposal.') %> | ||
| <%= t('helpers.project.project_identifier') %> | +<%= _('ID') %> | - <%= f.text_field :identifier, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => t('helpers.project.project_identifier_help_text') %> + <%= f.text_field :identifier, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => _('A pertinent ID as determined by the funder and/or institution.') %> | ||
| <%= t('helpers.project.grant_title') %> | +<%= _('Grant number') %> | - <%= f.text_field :grant_number, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => t('helpers.project.grant_help_text') %> + <%= f.text_field :grant_number, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => _('Grant reference number if applicable [POST-AWARD DMPs ONLY]') %> | ||
| <%= t('helpers.project.principal_investigator') %> | +<%= _('Principal Investigator/Researcher') %> | - <%= f.text_field :principal_investigator, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => t('helpers.project.principal_investigator_help_text') %> + <%= f.text_field :principal_investigator, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => _('Name of Principal Investigator(s) or main researcher(s) on the project.') %> | ||
| <%= t('helpers.project.principal_investigator_id') %> | +<%= _('Principal Investigator/Researcher ID') %> | - <%= f.text_field :principal_investigator_identifier, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => t('helpers.project.principal_investigator_id_help_text') %> + <%= f.text_field :principal_investigator_identifier, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => _('E.g ORCID http://orcid.org/.') %> | ||
| <%= t('helpers.project.project_data_contact') %> | +<%= _('Plan data contact') %> | - <%= f.text_field :data_contact, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => t('helpers.project.project_data_contact_help_text') %> + <%= f.text_field :data_contact, :class => 'text_field has-tooltip', 'data-toggle' => "tooltip", 'title' => _('Name (if different to above), telephone and email contact details') %> | ||
| <%= t('helpers.desc') %> | +<%= _('Description') %> |
- <%= f.text_area :description, { :rows => 7, :class => 'text_area has-tooltip', 'data-toggle' => "tooltip", 'data-html' => "true", 'title'=> t('helpers.project.project_desc_help_text_html')} %>
+ <%= f.text_area :description, { :rows => 7, :class => 'text_area has-tooltip', 'data-toggle' => "tooltip", 'data-html' => "true", 'title'=> _("Questions to consider:
Guidance:Briefly summarise the type of study (or studies) to help others understand the purposes for which the data are being collected or created. |
||
| <%= t('helpers.project.visibility') %> | +<%= _('Visibility') %> |
- /><%= t('helpers.project.visibilities.help_texts.publicly_visible') %>
+ /><%= _('Public (Your DMP will appear on the Public DMPs page of this site)') %>
- /><%= t('helpers.project.visibilities.help_texts.organisationally_visible') %>
+ /><%= _('Organisational (visibile to others within your organisation)') %>
- /><%= t('helpers.project.visibilities.help_texts.is_test') %>
+ /><%= _('Test/Practice (your plan is not visible to other users) See our Terms of Use.') %>
- /><%= t('helpers.project.visibilities.help_texts.privately_visible') %>
+ /><%= _('Private (owners, co-owners, and administrators only) See our Terms of Use.') %>
|
| <%= t('helpers.sections_label')%> | -<%= t('helpers.questions_label')%> | +<%= _('Sections')%> | +<%= _('Questions')%> |
|---|
| <%= t('helpers.sections_label')%> | -<%= t('helpers.questions_label')%> | +<%= _('Sections')%> | +<%= _('Questions')%> |
|---|
| <%= t('helpers.user_name')%> | -<%= t('helpers.project.share.permissions')%> | +<%= _('Email address')%> | +<%= _('Permissions')%> | <%= group.user.name %> | <% if group.project_creator then %> - <%= t("helpers.project.share.owner")%> + <%= _('Owner')%> <% else %> <%= form_for group, :url => {:controller => :roles, :action => :update, :id => group.id }, :html=>{:method=>:put} do |f| %> - <%= f.select :access_level, {t('helpers.project.share.co_owner') => 3, t('helpers.project.share.edit') => 2, t('helpers.project.share.read_only') => 1}, {}, {:id => "#{group.id}-can-edit", :class => "toggle-existing-user-access has-tooltip", 'data-toggle' => "tooltip", 'title' => t('helpers.project.share.permissions_desc') } %> + <%= f.select :access_level, {_('Co-owner') => 3, _('Edit') => 2, _('Read only') => 1}, {}, {:id => "#{group.id}-can-edit", :class => "toggle-existing-user-access has-tooltip", 'data-toggle' => "tooltip", 'title' => _('Editors can contribute to plans. Co-owners have additional rights to edit plan details and control access.') } %> <% end %> <% end %> | <% unless group.project_creator || group.user == current_user then %> - <%= link_to t('helpers.project.share.remove'), group, method: :delete, data: { confirm: t('helpers.project.share.confirmation_question') }, :class => "a-orange" %> + <%= link_to _('Remove user access'), group, method: :delete, data: { confirm: _('Are you sure?') }, :class => "a-orange" %> <% end %> | @@ -51,7 +50,7 @@
|---|