diff --git a/app/controllers/public_pages_controller.rb b/app/controllers/public_pages_controller.rb index 9307c4a..f64e61d 100644 --- a/app/controllers/public_pages_controller.rb +++ b/app/controllers/public_pages_controller.rb @@ -29,7 +29,7 @@ render pdf: file_name, margin: @formatting[:margin], footer: { - center: _('Template created using the %{application_name}. Last modified %{date}') % {application_name: Rails.configuration.branding[:application][:name], date: l(@template.updated_at.to_date, formats: :short)}, + center: _('Template created using the %{application_name} service. Last modified %{date}') % {application_name: Rails.configuration.branding[:application][:name], date: l(@template.updated_at.to_date, formats: :short)}, font_size: 8, spacing: (@formatting[:margin][:bottom] / 2) - 4, right: '[page] of [topage]' @@ -69,7 +69,7 @@ render pdf: file_name, margin: @formatting[:margin], footer: { - center: _('Created using the %{application_name}. Last modified %{date}') % {application_name: Rails.configuration.branding[:application][:name], date: l(@plan.updated_at.to_date, formats: :short)}, + center: _('Created using the %{application_name} service. Last modified %{date}') % {application_name: Rails.configuration.branding[:application][:name], date: l(@plan.updated_at.to_date, formats: :short)}, font_size: 8, spacing: (@formatting[:margin][:bottom] / 2) - 4, right: '[page] of [topage]' diff --git a/app/views/public_pages/plan_index.html.erb b/app/views/public_pages/plan_index.html.erb index 3ba73bd..d4d47aa 100644 --- a/app/views/public_pages/plan_index.html.erb +++ b/app/views/public_pages/plan_index.html.erb @@ -4,7 +4,7 @@ <% if @plans.count > 0 %>
- <%= _('Public DMPs are plans created using the %{application_name} and shared publicly by their owners. They are not vetted for quality, completeness, or adherence to funder guidelines.') % {application_name: Rails.application.config.branding[:application][:name]} %> + <%= _('Public DMPs are plans created using the %{application_name} service and shared publicly by their owners. They are not vetted for quality, completeness, or adherence to funder guidelines.') % {application_name: Rails.application.config.branding[:application][:name]} %>
<% else %>@@ -24,4 +24,4 @@ scope: @plans) %> <% end %> - \ No newline at end of file + diff --git a/app/views/public_pages/template_export.docx.erb b/app/views/public_pages/template_export.docx.erb index fea397f..f29833d 100644 --- a/app/views/public_pages/template_export.docx.erb +++ b/app/views/public_pages/template_export.docx.erb @@ -21,12 +21,12 @@
<%= raw question.text %>
+<%= raw question.text.chomp.strip %>
<% q_format = question.question_format %> <% if q_format.option_based? %><%= annotation.type == 0 ? _('Example Answer') : _('Guidance') %>:
- <%= raw annotation.text %> +<%= annotation.type == 'example_answer' ? _('Example Answer') : _('Guidance') %>:
+ <%= raw annotation.text.chomp.strip %> <% end %> <% end %>