\ No newline at end of file
diff --git a/app/views/dmptemplates/_versions_table.html.erb b/app/views/dmptemplates/_versions_table.html.erb
index 259fb5f..e51dbfe 100644
--- a/app/views/dmptemplates/_versions_table.html.erb
+++ b/app/views/dmptemplates/_versions_table.html.erb
@@ -4,6 +4,7 @@
<%= raw t("helpers.project.confirmation_text_desc",
- organisation_url: Rails.configuration.branding[:organisation][:url],
organisation_abbreviation: Rails.configuration.branding[:organisation][:abbreviation])%>
@@ -31,7 +30,6 @@
<%= raw t("helpers.project.default_confirmation_text_desc",
- organisation_url: Rails.configuration.branding[:organisation][:url],
organisation_abbreviation: Rails.configuration.branding[:organisation][:abbreviation]) %>
<%if !Dmptemplate.own_institutional_templates(current_user.organisation_id).empty? then %>
diff --git a/config/application.rb b/config/application.rb
index e852698..14189c6 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -81,10 +81,6 @@
# Absolute path to Shibboleth SSO Login
#config.shibboleth_login = 'https://localhost/Shibboleth.sso/Login'
-
- WickedPdf.config = {
- :exe_path => '/usr/local/bin/wkhtmltopdf'
- }
# Active Record will no longer suppress errors raised in after_rollback or after_commit
# in the next version. Devise appears to be using those callbacks.
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb
index a76c7bb..171a7da 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/devise.rb
@@ -157,7 +157,7 @@
# ==> Configuration for :timeoutable
# The time you want to timeout the user session without activity. After this
# time the user will be asked for credentials again. Default is 30 minutes.
- # config.timeout_in = 30.minutes
+ config.timeout_in = 1.minutes
# ==> Configuration for :lockable
# Defines which strategy will be used to lock an account.
diff --git a/config/initializers/wicked_pdf_example.rb b/config/initializers/wicked_pdf_example.rb
new file mode 100644
index 0000000..103b3e5
--- /dev/null
+++ b/config/initializers/wicked_pdf_example.rb
@@ -0,0 +1,9 @@
+module DMPRoadmap
+ class Application < Rails::Application
+
+ WickedPdf.config = {
+ :exe_path => '/usr/local/bin/wkhtmltopdf'
+ }
+
+ end
+end
\ No newline at end of file
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 4f85bdd..c764bf6 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -38,6 +38,7 @@
welcome_links: ""
ccid_message: ""
+ unauthorized: "Bitte loggen Sie sich ein oder melden Sie sich fortsetzen."
admin:
org_title: "Name der Organisation"
@@ -514,12 +515,12 @@
project_text_when_no_project: "
Willkommen. Sie können nun ihren ersten DMP erstellen. Wählen Sie 'Plan erstellen' weiter unten aus, um zu beginnen.
"
project_text_when_project: "
Die folgende Tabelle listet alle von Ihnen erstellten und von anderen mit Ihnen geteilten Pläne. Diese können jederzeit bearbeitet, geteilt, exportiert und gelöscht werden.
"
confirmation_text: "Plandetails bestätigen"
- confirmation_text_desc: "An Stellen, an denen Förderer oder Institutionen keine spezifischen Anforderung definiert haben (oder Sie entsprechende Angaben nicht gemacht haben), wird Ihnen die DCC Checkliste angezeigt. Diese bietet eine generische Fragen und Hilfestellungen; Mehr Informationen unter: DMP Check-Liste 2013."
+ confirmation_text_desc: "An Stellen, an denen Förderer oder Institutionen keine spezifischen Anforderung definiert haben (oder Sie entsprechende Angaben nicht gemacht haben), wird Ihnen die DCC Checkliste angezeigt. Diese bietet eine generische Fragen und Hilfestellungen; Mehr Informationen unter: DMP Check-Liste 2013."
confirmation_button_text: "Ja, Plan erstellen"
project_details_text_html: "Diese Seite bietet Ihnen einen Überblick über Ihren Plan. Sie gibt an, worauf dieser Plan basiert und gibt eine Übersicht über die Fragen, die gestellt werden."
project_details_editing_text_html: "Bitte geben Sie im Folgenden die Projektdetails an und wählen 'Aktualisieren' aus, um die Änderungen zu speichern."
confirm_delete_text: "Sind Sie sicher, dass sie diesen Plan löschen wollen?"
- default_confirmation_text_desc: "Sie haben den Standardplan gewählt, der auf dem Katalog der DCC basiert. Dies bietet eine generische Menge von DMP-Fragen and Hilfestellung. Für mehr Einzelheiten: DMP checklist 2013."
+ default_confirmation_text_desc: "Sie haben den Standardplan gewählt, der auf dem Katalog der DCC basiert. Dies bietet eine generische Menge von DMP-Fragen and Hilfestellung. Für mehr Einzelheiten: DMP checklist 2013."
default_confirmation_button_text: "Erstelle Plan"
alert_default_template_text_html: "Bitte beachten: %{org_name} stellt eine DMP-Vorlage zur Verfügung. Wenn Sie sie benutzen möchten, wähle 'Abbrechen', ansonsten wähle 'Erstelle Plan'"
share:
@@ -693,7 +694,7 @@
A summary of requirements from the NSF, NIH and other key funders in the USA.
diff --git a/config/locales/en-UK.yml b/config/locales/en-UK.yml
index 3476de2..052082c 100644
--- a/config/locales/en-UK.yml
+++ b/config/locales/en-UK.yml
@@ -41,6 +41,8 @@
screencast_text: "Screencast on how to use %{application_name}"
screencast_error_text: "Your browser does not support the video tag."
+ unauthorized: "You need to sign in or sign up before continuing."
+
admin:
language: "Language"
language_name: "Language name"
@@ -579,9 +581,9 @@
project_details_editing_text_html: "Please fill in the basic project details below and click 'Update' to save"
confirm_delete_text: "Are you sure you wish to delete this plan? If the plan is being shared with other users, by deleting it from your list, the plan will be deleted from their plan list as well"
confirmation_text: "Confirm plan details"
- confirmation_text_desc: "Where your funder or institution doesn't have specific requirements (or if you left these options blank), you will see the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
+ confirmation_text_desc: "Where your funder or institution doesn't have specific requirements (or if you left these options blank), you will see the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
confirmation_button_text: "Yes, create plan"
- default_confirmation_text_desc: "You have selected the Default DMP, which is based on the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
+ default_confirmation_text_desc: "You have selected the Default DMP, which is based on the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
default_confirmation_button_text: "Create plan"
alert_default_template_text_html: "Please note: %{org_name} provides a DMP template. If you wish to use it select 'Cancel', otherwise select 'Create plan'"
share:
@@ -734,7 +736,7 @@
A summary of requirements from the NSF, NIH and other key funders in the USA.
- DCC Checklist for a Data Management Plan [PDF, 3 pages]
+ DCC Checklist for a Data Management Plan [PDF, 3 pages]
A list of 13 questions and associated guidance, that represent the main issues to come up in Data Management and Sharing Plans. The Checklist is used as a generic template in %{application_name}, and is presented when no funder or organsiational requirements are applicable for the user.
%{application_name} is provided by the %{organisation_name}. You can find out more about us on our website. If you would like to contact us about %{application_name}, please enter your query in the form below or email dmponline@dcc.ac.uk.
"
- github_text_html: "
If you have a feature request or think you have found a bug, please check out the list of issues on GitHub. If your issue isn't listed there, please add it; if it is, please add a comment if you have more information or just to let us know how important it is to you. This will help us to help us prioritise future developments.
"
+ github_text_html: "
If you have a feature request or think you have found a bug, please check out the list of issues on GitHub. If your issue isn't listed there, please add it; if it is, please add a comment if you have more information or just to let us know how important it is to you. This will help us to prioritise future developments.
"
address_text_html: "
%{organisation_name}
Level 7, Appleton Tower
@@ -907,7 +909,7 @@
Cookies
-
Please note that %{application_name} uses Cookies. Further information about Cookies and how we use them is available on the main %{organisation_abbreviation} website.
+
Please note that %{application_name} uses Cookies. Further information about Cookies and how we use them is available on the main DCC website.
diff --git a/config/locales/en-US.yml b/config/locales/en-US.yml
index e363d7c..915b591 100644
--- a/config/locales/en-US.yml
+++ b/config/locales/en-US.yml
@@ -41,6 +41,8 @@
screencast_text: "Screencast on how to use %{application_name}"
screencast_error_text: "Your browser does not support the video tag."
+ unauthorized: "You need to sign in or sign up before continuing."
+
admin:
org_title: "Organization name"
org: "Organization"
@@ -569,9 +571,9 @@
project_details_editing_text_html: "Please fill in the basic project details below and click 'Update' to save"
confirm_delete_text: "Are you sure you wish to delete this plan? If the plan is being shared with other users, by deleting it from your list, the plan will be deleted from their plan list as well"
confirmation_text: "Confirm plan details"
- confirmation_text_desc: "Where your funder or institution doesn't have specific requirements (or if you left these options blank), you will see the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
+ confirmation_text_desc: "Where your funder or institution doesn't have specific requirements (or if you left these options blank), you will see the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
confirmation_button_text: "Yes, create plan"
- default_confirmation_text_desc: "You have selected the Default DMP, which is based on the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
+ default_confirmation_text_desc: "You have selected the Default DMP, which is based on the %{organisation_abbreviation} Checklist. This offers a generic set of DMP questions and guidance. For more details see: DMP checklist 2013."
default_confirmation_button_text: "Create plan"
alert_default_template_text_html: "Please note: %{org_name} provides a DMP template. If you wish to use it select 'Cancel', otherwise select 'Create plan'"
share:
@@ -724,7 +726,7 @@
A summary of requirements from the NSF, NIH and other key funders in the USA.
%{application_name} is provided by the %{organisation_name}. You can find out more about us on our website. If you would like to contact us about %{application_name}, please enter your query in the form below or email dmponline@dcc.ac.uk.
"
- github_text_html: "
If you have a feature request or think you have found a bug, please check out the list of issues on GitHub. If your issue isn't listed there, please add it; if it is, please add a comment if you have more information or just to let us know how important it is to you. This will help us to help us prioritise future developments.
"
+ github_text_html: "
If you have a feature request or think you have found a bug, please check out the list of issues on GitHub. If your issue isn't listed there, please add it; if it is, please add a comment if you have more information or just to let us know how important it is to you. This will help us to prioritise future developments.
"
address_text_html: "
%{organisation_name}
Level 7, Appleton Tower
@@ -897,7 +899,7 @@
Cookies
-
Please note that %{application_name} uses Cookies. Further information about Cookies and how we use them is available on the main %{organisation_abbreviation} website.
+
Please note that %{application_name} uses Cookies. Further information about Cookies and how we use them is available on the main DCC website.