diff --git a/app/views/branded/plans/_edit_research_outputs.html.erb b/app/views/branded/plans/_edit_research_outputs.html.erb index 67e284b..0838f0b 100644 --- a/app/views/branded/plans/_edit_research_outputs.html.erb +++ b/app/views/branded/plans/_edit_research_outputs.html.erb @@ -1,6 +1,11 @@ <%# locals: { plan, research_outputs, research_output_types } %>

<%= d_('dmpopidor', 'Research outputs') %>

+
+ + <%= d_('dmpopidor', 'Click here to find out more about research output types.') %> + +
<%= form_for plan, html: {method: :put, class: 'form-horizontal edit_plan' } do |f| %>
<% @research_outputs.each do |research_output|%> diff --git a/app/views/branded/plans/_show_research_outputs.html.erb b/app/views/branded/plans/_show_research_outputs.html.erb index b21e360..43888b6 100644 --- a/app/views/branded/plans/_show_research_outputs.html.erb +++ b/app/views/branded/plans/_show_research_outputs.html.erb @@ -1,5 +1,10 @@ <%# locals: { plan, research_outputs, research_output_types } %>

<%= d_('dmpopidor', 'Research outputs') %>

+
<% @research_outputs.each do |research_output|%> <% other_type_displayed = research_output.research_output_type && research_output.research_output_type.is_other ? '' : 'display:none;' %> @@ -15,9 +20,6 @@
<%= d_('dmpopidor', 'Type') %> - - - <%= research_output.research_output_type ? research_output.research_output_type.label : _('None') %>
diff --git a/config/locale/dmpopidor.pot b/config/locale/dmpopidor.pot index bdfb769..71c5b57 100644 --- a/config/locale/dmpopidor.pot +++ b/config/locale/dmpopidor.pot @@ -332,3 +332,6 @@ msgid "Cancel research output edition" msgstr "" + +msgid "Click here to find out more about research output types." +msgstr "" diff --git a/config/locale/en_GB/dmpopidor.po b/config/locale/en_GB/dmpopidor.po index c699ad4..bc72831 100644 --- a/config/locale/en_GB/dmpopidor.po +++ b/config/locale/en_GB/dmpopidor.po @@ -327,4 +327,7 @@ msgstr "Edit research output" msgid "Cancel research output edition" -msgstr "Cancel research output edition" \ No newline at end of file +msgstr "Cancel research output edition" + +msgid "Click here to find out more about research output types." +msgstr "Click here to find out more about research output types." \ No newline at end of file diff --git a/config/locale/fr_FR/dmpopidor.po b/config/locale/fr_FR/dmpopidor.po index 2fd1fbb..52d95b8 100644 --- a/config/locale/fr_FR/dmpopidor.po +++ b/config/locale/fr_FR/dmpopidor.po @@ -327,4 +327,7 @@ msgstr "Modifier le produit de recherche" msgid "Cancel research output edition" -msgstr "Annuler la modification du produit de recherche" \ No newline at end of file +msgstr "Annuler la modification du produit de recherche" + +msgid "Click here to find out more about research output types." +msgstr "Cliquez ici pour en savoir plus à propos des types de produits de recherche" \ No newline at end of file