diff --git a/app/views/guidance_groups/admin_edit.html.erb b/app/views/guidance_groups/admin_edit.html.erb index f81dbfc..006318b 100644 --- a/app/views/guidance_groups/admin_edit.html.erb +++ b/app/views/guidance_groups/admin_edit.html.erb @@ -2,10 +2,10 @@ <% javascript 'admin.js' %>
| <%= t('org_admin.guidance_group.name_label') %> | +<%= _('Name') %> |
<%= f.text_field :name,
@@ -29,33 +29,33 @@
- <%= link_to(image_tag('help_button.png'), '#', class: 'guidance_group_title_popover', rel: "popover", 'data-html' => "true", 'data-content' => t('org_admin.guidance_group.title_help_text_html')) %>
+ <%= link_to(image_tag('help_button.png'), '#', class: 'guidance_group_title_popover', rel: "popover", 'data-html' => "true", 'data-content' => _("Add an appropriate name for your guidance group e.g. Glasgow guidance. This name will be used to tell the end user where the guidance has come from e.g. 'Glasgow Guidance on Metadata'")) %>
|
| <%= t('org_admin.templates.published_label') %> | +<%= _('Published') %> |
<%= f.check_box :published %>
-
+
|
| <%= t('org_admin.guidance_group.subset') %> | +<%= _('Optional subset') %> |
- <%= f.check_box :optional_subset %> <%= t('org_admin.guidance_group.subset_eg') %>
+ <%= f.check_box :optional_subset %> <%= _('e.g. School/ Department') %>
- <%= link_to(image_tag('help_button.png'), '#', class: 'guidance_group_subset_popover', rel: "popover", 'data-html' => "true", 'data-content' => t('org_admin.guidance_group.subset_option_help_text')) %>
+ <%= link_to(image_tag('help_button.png'), '#', class: 'guidance_group_subset_popover', rel: "popover", 'data-html' => "true", 'data-content' => _("If the guidance is only meant for a subset of users e.g. those in a specific college or institute, check this box. Users will be able to select to display this subset guidance when answering questions in the 'create plan' wizard.")) %>
|
| <%= t('org_admin.guidance_group.name_label') %> | +<%= _('Name') %> |
<%= f.text_field :name, as: :string, class: "text_field" %>
- <%= link_to( image_tag("help_button.png"), "#", class: 'guidance_group_title_popover', rel: "popover", 'data-html' => "true", 'data-content' => t("org_admin.guidance_group.title_help_text_html"))%>
+ <%= link_to( image_tag("help_button.png"), "#", class: 'guidance_group_title_popover', rel: "popover", 'data-html' => "true", 'data-content' => _("Add an appropriate name for your guidance group e.g. Glasgow guidance. This name will be used to tell the end user where the guidance has come from e.g. 'Glasgow Guidance on Metadata'"))%>
|
| <%= t('org_admin.guidance_group.subset') %> | +<%= _('Optional subset') %> |
- <%= f.check_box :optional_subset %> <%= t('org_admin.guidance_group.subset_eg') %>
+ <%= f.check_box :optional_subset %> <%= _('e.g. School/ Department') %>
- <%= link_to( image_tag('help_button.png'), '#', class: 'guidance_group_subset_popover', rel: "popover", 'data-html' => "true", 'data-content' => t('org_admin.guidance_group.subset_option_help_text'))%>
+ <%= link_to( image_tag('help_button.png'), '#', class: 'guidance_group_subset_popover', rel: "popover", 'data-html' => "true", 'data-content' => _("If the guidance is only meant for a subset of users e.g. those in a specific college or institute, check this box. Users will be able to select to display this subset guidance when answering questions in the 'create plan' wizard."))%>
|
| <%= t("org_admin.guidance_group.name_label") %> | +<%= _('Name') %> | <%= raw @guidance_group.name %> |
| <%= t('org_admin.templates.published_label') %> | +<%= _('Published') %> | <% if @guidance_group.published.nil? || !@guidance_group.published then %> - <%= t("helpers.no_label") %> + <%= _('No') %> <% else %> - <%= t("helpers.yes_label") %> + <%= _('Yes') %> <% end %> |
| <%= t("org_admin.guidance_group.subset") %> | +<%= _('Optional subset') %> | <% if @guidance_group.optional_subset.nil? || !@guidance_group.optional_subset then %> - <%= t('helpers.no_label') %> + <%= _('No') %> <% else %> - <%= t('helpers.yes_label') %> + <%= _('Yes') %> <% end %> |
| <%= t("org_admin.guidance.created") %> | +<%= _('Created') %> | <%= l @guidance_group.created_at.to_date, formats: :short %> |
| <%= t("org_admin.guidance.last_updated") %> | +<%= _('Last updated') %> | <%= l @guidance_group.updated_at.to_date, formats: :short %> |