\n"
"Language: \n"
@@ -42,9 +42,6 @@
msgid " by"
msgstr ""
-msgid " by "
-msgstr ""
-
msgid " has been removed by "
msgstr ""
@@ -186,9 +183,6 @@
msgid "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
msgstr ""
-msgid "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-msgstr ""
-
msgid "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
msgstr ""
@@ -519,9 +513,6 @@
msgid "Edit phase"
msgstr ""
-msgid "Edit phase details"
-msgstr ""
-
msgid "Edit plan details"
msgstr ""
@@ -636,6 +627,9 @@
msgid "Guidance"
msgstr ""
+msgid "Guidance Choices"
+msgstr ""
+
msgid "Guidance choices saved."
msgstr ""
@@ -1314,9 +1308,6 @@
msgid "This plan is based on:"
msgstr ""
-msgid "This section is locked for editing by "
-msgstr ""
-
msgid "Title"
msgstr ""
@@ -1347,12 +1338,6 @@
msgid "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
msgstr ""
-msgid "Unlink account"
-msgstr ""
-
-msgid "Unlink institutional credentials alert"
-msgstr ""
-
msgid "Unlock my account"
msgstr ""
@@ -1503,9 +1488,6 @@
msgid "You have un-published changes"
msgstr ""
-msgid "You have unsaved answers in the following sections:"
-msgstr ""
-
msgid "You must accept the terms and conditions to register."
msgstr ""
diff --git a/config/locale/de/app.po b/config/locale/de/app.po
index b28632b..5e22290 100644
--- a/config/locale/de/app.po
+++ b/config/locale/de/app.po
@@ -43,9 +43,6 @@
msgid " by"
msgstr " von "
-msgid " by "
-msgstr " von "
-
#, fuzzy
msgid " has been removed by "
msgstr " von "
@@ -199,9 +196,6 @@
msgid "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
msgstr "Nach der Anmeldung in DMPonline werden sie zur 'Meine Pläne'-Seite weitergeleitet. Dies ist der Startpunkt, um ihre Pläne zu Edieren, zu Teilen oder zu löschen. Sie sehen außerdem, welche Pläne sie mit anderen geteilt haben.
Pläne erstellen
Um einen Plan zu erstellen, klicken sie auf den 'Plan erstellen'-Knopf auf der 'Meine Pläne'-Seite, oder im Hauptmenü. Wählen sie die passenden Optionen in den Ausklappmenüs und Auswahlboxen aus, um zu bestimmen, welche Fragen und Hilfestellungen ihnen angezeigt werden sollen. Bestätigen sie ihre Auswahl durch das Klicken von 'Ja, Plan erstellen'.
Pläne schreiben
Die Reiter der Benutzerschnittstelle erlauben ihnen durch die verschiedenen Bereiche zu navigieren wenn sie ihren Plan bearbeiten.
- - 'Plandetails' enthält die grundliegenden administrativen Details, listet die Fragen und Hilfestellungen, auf denen ihr Plan basiert und gibt eine Übersicht über die zu beantwortenden Fragen
- - die folgenden Reiter repräsentieren die zu beantwortenden Fragen. Sollten ihr Förderer oder ihre Institution verschiedene Fragen zu verschiedenen Stufen des Plans beantwortet wissen möchten, können hier mehrere Reiter auftauchen
- - 'Teilen' enthält Details zum Einladen von anderen Personen zum Lesen oder zur aktiven Mitabeit am Plan
- - 'Export' enthält Möglichkeiten zum Export des Plans in verschiedene Dateiformate. Dies kann nützlich sein, wenn sie ihren Plan im Rahmen eines Antrags einreichen müssen
In den Fragereitern sind die verschiedenen Abschnitte ihres Plans dargestellt, die sich durch anklicken zur Bearbeitung auswählen lassen. Die Antworttexte können mit den Textbearbeitungsknöpfen formatiert werden.
Hilfestellungen werden rechts von den Fragen durch klicken des '+'-Symbols angezeigt.
Bitte vergessen sie nicht ihre Antworten zu speichern, bevor sie die Seite verlassen.
Pläne teilen
Geben sie die E-Mail-Adresse der Person an, die ihren Plan lesen oder bearbeiten können sollen. Mithilfe des Ausklappmenüs können sie die Befugnisse, die die Person im Bezug auf den Plan haben soll, auswählen. Klicken sie abschließend auf 'Mitarbeitende(n) hinzufügen'.
Pläne exportieren
Wählen sie das Dateiformat aus, in das sie ihren Plan exportieren möchten und klicken sie 'Export'. Unterhalb des Dialogs können sie durch klicken auf das '+'-Symbol detaillierte Einstellungen zum Export vornehmen.
"
-msgid "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-msgstr "You are about to unlink DMP Builder of your institutional credentials, would you like to continue?
"
-
#, fuzzy
msgid "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
msgstr "Sie können anderen Zugriff zu Ihren Plan gewähren. Es gibt hierbei drei Abstufungen des Zugriffs.
- Benutzer mit 'nur lesen'-Rechten können den Plan nur lesen.
- Bearbeiter können zum Plan beitragen.
- Miteigentümer können zum Plan beitragen und zusätzlich die Plandetails und die Zugriffsrechte bearbeiten.
Neue Mitarbeitende können durch die Angabe ihrer E-Mail-Adresse und das Wählen des Zugriffsrechts hinzugefugt werden. Bestätigen Sie Ihre Angaben mit 'Mitarbeitende(n) hinzufügen'
Eingeladene Mitarbeitende erhalten eine E-Mail, die sie darüber informiert, dass sie Zugriff zu Ihrem Plan erhalten haben; sofern Mitarbeitende noch nicht bei DMPonline registriert sind, erhalten sie eine Einladung zur Registrierung. Wenn die Zugriffsrechte geändert werden wird ebenfalls eine Benachrichtigungs-E-Mail versand.
"
@@ -556,9 +550,6 @@
msgid "Edit phase"
msgstr "Phase bearbeiten"
-msgid "Edit phase details"
-msgstr "Details der Phase bearbeiten"
-
msgid "Edit plan details"
msgstr "Plandetails bearbeiten"
@@ -680,6 +671,10 @@
msgstr "Hilfestellung"
#, fuzzy
+msgid "Guidance Choices"
+msgstr "Hilfestellung"
+
+#, fuzzy
msgid "Guidance choices saved."
msgstr "Hilfestellung"
@@ -1385,9 +1380,6 @@
msgid "This plan is based on:"
msgstr "Dieser Plan basiert auf:"
-msgid "This section is locked for editing by "
-msgstr "Dieser Abschnitt ist gespert wegen Bearbeitung durch "
-
msgid "Title"
msgstr "Titel"
@@ -1419,12 +1411,6 @@
msgid "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
msgstr "Unbekannter Rand. Kann nur 'oben', 'unten', 'links' oder 'rechts' sein"
-msgid "Unlink account"
-msgstr "Trenne Zugang"
-
-msgid "Unlink institutional credentials alert"
-msgstr "Unlink institutional credentials alert"
-
msgid "Unlock my account"
msgstr "Unlock my account"
@@ -1590,11 +1576,6 @@
msgid "You have un-published changes"
msgstr ""
-#, fuzzy
-msgid "You have unsaved answers in the following sections:"
-msgstr ""
-"You have unsaved answers in the following sections:\n"
-
msgid "You must accept the terms and conditions to register."
msgstr ""
diff --git a/config/locale/domain.pot b/config/locale/domain.pot
new file mode 100644
index 0000000..3069d0f
--- /dev/null
+++ b/config/locale/domain.pot
@@ -0,0 +1,3 @@
+# Some descriptive title
+msgid ""
+msgstr ""
\ No newline at end of file
diff --git a/config/locale/en_GB/app.po b/config/locale/en_GB/app.po
index 0d6a6e3..50e9e8e 100644
--- a/config/locale/en_GB/app.po
+++ b/config/locale/en_GB/app.po
@@ -44,9 +44,6 @@
msgid " by"
msgstr " by"
-msgid " by "
-msgstr " by "
-
msgid " has been removed by "
msgstr " has been removed by "
@@ -194,9 +191,6 @@
msgid "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
msgstr "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
-msgid "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-msgstr "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-
msgid "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
msgstr "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
@@ -540,9 +534,6 @@
msgid "Edit phase"
msgstr "Edit phase"
-msgid "Edit phase details"
-msgstr "Edit phase details"
-
msgid "Edit plan details"
msgstr "Edit plan details"
@@ -662,6 +653,10 @@
msgstr "Guidance"
#, fuzzy
+msgid "Guidance Choices"
+msgstr "Guidance"
+
+#, fuzzy
msgid "Guidance choices saved."
msgstr "Guidance"
@@ -1363,9 +1358,6 @@
msgid "This plan is based on:"
msgstr "This plan is based on:"
-msgid "This section is locked for editing by "
-msgstr "This section is locked for editing by "
-
msgid "Title"
msgstr "Title"
@@ -1396,12 +1388,6 @@
msgid "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
msgstr "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
-msgid "Unlink account"
-msgstr "Unlink account"
-
-msgid "Unlink institutional credentials alert"
-msgstr "Unlink institutional credentials alert"
-
msgid "Unlock my account"
msgstr "Unlock my account"
@@ -1561,9 +1547,6 @@
msgid "You have un-published changes"
msgstr ""
-msgid "You have unsaved answers in the following sections:"
-msgstr ""
-
msgid "You must accept the terms and conditions to register."
msgstr "You must accept the terms and conditions to register."
diff --git a/config/locale/en_US/app.po b/config/locale/en_US/app.po
index d1e5e4e..0f7a346 100644
--- a/config/locale/en_US/app.po
+++ b/config/locale/en_US/app.po
@@ -44,9 +44,6 @@
msgid " by"
msgstr " by"
-msgid " by "
-msgstr " by "
-
msgid " has been removed by "
msgstr " has been removed by "
@@ -194,9 +191,6 @@
msgid "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
msgstr "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
-msgid "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-msgstr "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-
msgid "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
msgstr "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
@@ -540,9 +534,6 @@
msgid "Edit phase"
msgstr "Edit phase"
-msgid "Edit phase details"
-msgstr "Edit phase details"
-
msgid "Edit plan details"
msgstr "Edit plan details"
@@ -662,6 +653,10 @@
msgstr "Guidance"
#, fuzzy
+msgid "Guidance Choices"
+msgstr "Guidance"
+
+#, fuzzy
msgid "Guidance choices saved."
msgstr "Guidance"
@@ -1363,9 +1358,6 @@
msgid "This plan is based on:"
msgstr "This plan is based on:"
-msgid "This section is locked for editing by "
-msgstr "This section is locked for editing by "
-
msgid "Title"
msgstr "Title"
@@ -1396,12 +1388,6 @@
msgid "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
msgstr "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
-msgid "Unlink account"
-msgstr "Unlink account"
-
-msgid "Unlink institutional credentials alert"
-msgstr "Unlink institutional credentials alert"
-
msgid "Unlock my account"
msgstr "Unlock my account"
@@ -1561,9 +1547,6 @@
msgid "You have un-published changes"
msgstr ""
-msgid "You have unsaved answers in the following sections:"
-msgstr ""
-
msgid "You must accept the terms and conditions to register."
msgstr "You must accept the terms and conditions to register."
diff --git a/config/locale/es/app.po b/config/locale/es/app.po
index c921f5c..ffda90d 100644
--- a/config/locale/es/app.po
+++ b/config/locale/es/app.po
@@ -43,9 +43,6 @@
msgid " by"
msgstr " por "
-msgid " by "
-msgstr " por "
-
#, fuzzy
msgid " has been removed by "
msgstr " por "
@@ -196,9 +193,6 @@
msgid "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
msgstr ""
-msgid "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-msgstr "Va a desvincular DMPonline de las credenciales de su institución, ¿Quiere continuar?
"
-
#, fuzzy
msgid "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
msgstr "Aquí puede dar a otras personas acceso a su plan. Hay tres niveles de permiso.
- Los usuarios con acceso de \"sólo lectura\" sólo pueden leer el plan.
- Los Editores pueden contribuir al plan.
- Los Co-propietarios pueden también contribuir, editar los detalles y controlar el acceso al plan.
Añada cada colaborador individualmente introduciendo su dirección de correo electrónico, seleccionando un nivel de permiso y haciendo clic en \"Añadir colaborador\".
Aquellos a quienes invite recibirán un aviso por correo electrónico indicando que tienen acceso al plan e invitándoles a registrarse en DMPonline si no tienen ya una cuenta. También se envia un aviso si se cambia el nivel de permiso de un usuario.
"
@@ -552,9 +546,6 @@
msgid "Edit phase"
msgstr "Editar fase"
-msgid "Edit phase details"
-msgstr "Editar los detalles de las fase"
-
msgid "Edit plan details"
msgstr "Editar los detalles del plan"
@@ -676,6 +667,10 @@
msgstr "Guía"
#, fuzzy
+msgid "Guidance Choices"
+msgstr "Guía"
+
+#, fuzzy
msgid "Guidance choices saved."
msgstr "Guía"
@@ -1378,9 +1373,6 @@
msgid "This plan is based on:"
msgstr "Este plan está basado en:"
-msgid "This section is locked for editing by "
-msgstr "Esta sección está bloqueda para su edición por "
-
msgid "Title"
msgstr "Título"
@@ -1412,12 +1404,6 @@
msgid "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
msgstr "Margen desconocido. Sólo puede ser 'superior', 'inferior', 'izquierdo' or 'derecho'"
-msgid "Unlink account"
-msgstr "Desvincular cuenta"
-
-msgid "Unlink institutional credentials alert"
-msgstr "Desvincule las alertas relacionadas con las credenciales de su institución"
-
msgid "Unlock my account"
msgstr ""
@@ -1583,9 +1569,6 @@
msgid "You have un-published changes"
msgstr ""
-msgid "You have unsaved answers in the following sections:"
-msgstr ""
-
msgid "You must accept the terms and conditions to register."
msgstr ""
diff --git a/config/locale/fr/app.po b/config/locale/fr/app.po
index 26cbc38..d7706f1 100644
--- a/config/locale/fr/app.po
+++ b/config/locale/fr/app.po
@@ -43,9 +43,6 @@
msgid " by"
msgstr " par "
-msgid " by "
-msgstr " par "
-
#, fuzzy
msgid " has been removed by "
msgstr " par "
@@ -195,9 +192,6 @@
msgid "When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
Create a plan
To create a plan, click the 'Create plan' button from the 'My plans' page or the top menu. Select options from the drop-down menus and tickboxes to determine what questions and guidance you should be presented with. Confirm your selection by clicking 'Yes, create plan'
Write your plan
The tabbed interface allows you to navigate through different functions when editing your plan.
- - 'Plan details' includes basic administrative details, tells you what sets of questions and guidance your plan is based on and gives you an overview to the questions that you will be asked.
- - The following tab(s) present the questions to answer. There may be more than one tab if your funder or university asks different sets of questions at different stages e.g. at grant application and post-award.
- - The 'Share' tab allows you to invite others to read or contribute to your plan.
- - The 'Export' tab allows you to download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application.
When viewing any of the question tabs, you will see the different sections of your plan displayed. Click into these in turn to answer the questions. You can format your responses using the text editing buttons.
Guidance is displayed in the right-hand panel. Click the '+' symbol to view this.
Remember to 'save' your responses before moving on.
Share plans
Insert the email address of any collaborators you would like to invite to read or edit your plan. Set the level of permissions you would like to grant them via the drop-down options and click to 'Add collaborator'
Export plans
From here you can download your plan in various formats. This may be useful if you need to submit your plan as part of a grant application. Choose what format you would like to view/download your plan in and click to export. When you login to %{application_name} you will be directed to the 'My plans' page. From here you can edit, share, export or delete any of your plans. You will also see plans that have been shared with you by others.
"
msgstr "Lorsque vous vous connectez à l'Assistant PGD, vous serez dirigé vers la page « Mes plans ». À partir de cette page, vous pouvez modifier, partager, exporter ou supprimer l'un ou l'autre de vos plans. Vous verrez également les plans qui ont été partagés avec vous par d'autres personnes.
Créer un plan
Pour créer un plan, cliquez sur le bouton « Créer un plan » à la page « Mes plans » ou dans le menu du haut. Faites des choix dans les listes déroulantes et les cases à cocher afin de déterminer les questions et les directives qui seront affichées. Confirmez votre choix en cliquant sur « Oui, créer un plan ».
Rédiger votre plan
L'interface à onglets vous permet de naviguer dans diverses fonctions lorsque vous mettez au point votre plan.
- - L'option « renseignements sur le plan » comprend des renseignements administratifs de base, indique la série de questions et de directives sur laquelle votre plan s'appuie et vous donne un aperçu des questions auxquelles vous devez répondre.
- - Les onglets suivants contiennent les questions auxquelles il faut répondre. Il peut y avoir plus d'un onglet si votre bailleur de fonds ou votre université pose différentes séries de questions à diverses étapes, par exemple lors d'une demande de subvention et après l'octroi d'une subvention.
- - L'onglet « Partager » vous permet d'inviter d'autres personnes à lire votre plan ou à y collaborer.
- - L'onglet « Exporter » vous permet de télécharger votre plan en divers formats, ce qui peut être utile si vous devez joindre votre plan à une demande de subvention.
Lorsque vous consultez l'un ou l'autre des onglets de questions, vous verrez les différentes sections de votre plan affichées. Cliquez sur ces onglets à tour de rôle pour répondre aux questions. Vous pouvez choisir le format de vos réponses à l'aide des boutons de mise en forme.
Les directives sont affichées dans la partie de droite. Cliquez sur le symbole « + » pour les consulter.
N'oubliez pas d'enregistrer vos réponses avant de poursuivre.
Partager les plans
Inscrivez l'adresse électronique de tout collaborateur que vous aimeriez inviter à lire ou à modifier votre plan. Choisissez le niveau d'autorisation que vous souhaitez lui accorder dans les options de la liste déroulante et cliquez sur « Ajouter un collaborateur ».
Exporter les plans
En choisissant cette option, vous pouvez télécharger votre plan en divers formats, ce qui peut être utile si vous devez joindre votre plan à une demande de subvention. Choisissez le format dans lequel vous aimeriez voir ou télécharger votre plan et cliquez pour l'exporter. Lorsque vous vous connectez à l'Assistant PGD, vous êtes dirigé vers la page « Mes plans ». À partir de cette page, vous pouvez modifier, partager, exporter ou supprimer l'un ou l'autre de vos plans. Vous voyez également les plans qui ont été partagés avec vous par d'autres personnes.
"
-msgid "You are about to unlink %{application_name} of your institutional credentials, would you like to continue?
"
-msgstr "Vous allez détacher DMPonline de votre authentfiant détablissement, voulez-vous continuer ?
"
-
#, fuzzy
msgid "You can give other people access to your plan here. There are three permission levels.
- Users with \"read only\" access can only read the plan.
- Editors can contribute to the plan.
- Co-owners can also contribute to the plan, but additionally can edit the plan details and control access to the plan.
Add each collaborator in turn by entering their email address below, choosing a permission level and clicking \"Add collaborator\".
Those you invite will receive an email notification that they have access to this plan, inviting them to register with %{application_name} if they don't already have an account. A notification is also issued when a user's permission level is changed.
"
msgstr "À ce niveau, vous pouvez donner accès à votre plan à dautres personnes. Trois niveaux dautorisation sont possibles.
- Les utilisateurs avec un droit en \"lecture seule\" ne pourront que consulter le plan.
- Les utilisateurs avec un droit de mofification pourront y contribuer.
- Les copropriétaires le peuvent aussi, mais peuvent aussi en modifier les détails et en contrôler laccès.
Ajoutez chacun des collaborateurs en saisissant leurs courriels lun après lautre, en choisissant un niveau dautorisation et en cliquant sur \"Ajouter le collaborateur\".
Ceux qui sont invités recevront un avis par courriel leur indiquant quils ont accès à ce plan, invitant ceux qui nont pas de compte dans DMPonline à senregistrer. Lutilisateur reçoit aussi un avis quand ces droits sont changés.
"
@@ -550,9 +544,6 @@
msgid "Edit phase"
msgstr "Modifier la phase"
-msgid "Edit phase details"
-msgstr "Modifiez les détails de la phase"
-
msgid "Edit plan details"
msgstr "Modifier des détails du plan"
@@ -674,6 +665,10 @@
msgstr "Conseils"
#, fuzzy
+msgid "Guidance Choices"
+msgstr "Conseils"
+
+#, fuzzy
msgid "Guidance choices saved."
msgstr "Conseils"
@@ -1375,9 +1370,6 @@
msgid "This plan is based on:"
msgstr "Ce plan sinspire de :"
-msgid "This section is locked for editing by "
-msgstr "La modification de cette section a été verrouillée par "
-
msgid "Title"
msgstr "Titre"
@@ -1409,12 +1401,6 @@
msgid "Unknown margin. Can only be 'top', 'bottom', 'left' or 'right'"
msgstr "Marge inconnue. Seules marges possibles : Haut, Bas, Gauche et Droite"
-msgid "Unlink account"
-msgstr "Délier le compte"
-
-msgid "Unlink institutional credentials alert"
-msgstr "Alerte de détachement dauthentifiant détablissement"
-
msgid "Unlock my account"
msgstr ""
@@ -1580,9 +1566,6 @@
msgid "You have un-published changes"
msgstr ""
-msgid "You have unsaved answers in the following sections:"
-msgstr ""
-
msgid "You must accept the terms and conditions to register."
msgstr ""
diff --git a/config/routes.rb b/config/routes.rb
index 2f4c08c..d7d2c53 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,56 +1,56 @@
Rails.application.routes.draw do
namespace :admin do
- resources :users, only: [:new, :create, :edit, :update, :index, :show]
- resources :orgs, only: [:new, :create, :edit, :update, :index, :show]
- resources :perms, only: [:new, :create, :edit, :update, :index, :show]
- resources :languages
- resources :templates
- resources :token_permission_types
- resources :phases
- resources :sections
- resources :questions
- resources :question_formats
- resources :question_options
- resources :annotations
- resources :answers
- resources :guidances
- resources :guidance_groups
- resources :themes
- resources :notes
- resources :plans
- # resources :plans_guidance_groups
- resources :identifier_schemes
- resources :exported_plans
- resources :regions
- resources :roles
- resources :splash_logs
- resources :user_identifiers
+ resources :users, only: [:new, :create, :edit, :update, :index, :show]
+ resources :orgs, only: [:new, :create, :edit, :update, :index, :show]
+ resources :perms, only: [:new, :create, :edit, :update, :index, :show]
+ resources :languages, only: [:new, :create, :edit, :update, :index, :show]
+ resources :templates, only: [:new, :create, :edit, :update, :index, :show]
+ resources :phases, only: [:new, :create, :edit, :update, :index, :show]
+ resources :sections, only: [:new, :create, :edit, :update, :index, :show]
+ resources :questions, only: [:new, :create, :edit, :update, :index, :show]
+ resources :question_formats, only: [:new, :create, :edit, :update, :index, :show]
+ resources :question_options, only: [:new, :create, :edit, :update, :index, :show]
+ resources :annotations, only: [:new, :create, :edit, :update, :index, :show]
+ resources :answers, only: [:new, :create, :edit, :update, :index, :show]
+ resources :guidances, only: [:new, :create, :edit, :update, :index, :show]
+ resources :guidance_groups, only: [:new, :create, :edit, :update, :index, :show]
+ resources :themes, only: [:new, :create, :edit, :update, :index, :show]
+ resources :notes, only: [:new, :create, :edit, :update, :index, :show]
+ resources :plans, only: [:new, :create, :edit, :update, :index, :show]
+ resources :identifier_schemes, only: [:new, :create, :edit, :update, :index, :show]
+ resources :exported_plans, only: [:new, :create, :edit, :update, :index, :show]
+ resources :regions, only: [:new, :create, :edit, :update, :index, :show]
+ resources :roles, only: [:new, :create, :edit, :update, :index, :show]
+ resources :splash_logs, only: [:new, :create, :edit, :update, :index, :show]
+ resources :user_identifiers, only: [:new, :create, :edit, :update, :index, :show]
+resources :token_permission_types, only: [:new, :create, :edit, :update, :index, :show]
+#resources :plans_guidance_groups
root to: "users#index"
end
devise_for :users, controllers: {
- registrations: "registrations",
- passwords: 'passwords',
- sessions: 'sessions',
+ registrations: "registrations",
+ passwords: 'passwords',
+ sessions: 'sessions',
omniauth_callbacks: 'users/omniauth_callbacks'} do
-
+
get "/users/sign_out", :to => "devise/sessions#destroy"
end
-
+
# WAYFless access point - use query param idp
#get 'auth/shibboleth' => 'users/omniauth_shibboleth_request#redirect', :as => 'user_omniauth_shibboleth'
#get 'auth/shibboleth/assoc' => 'users/omniauth_shibboleth_request#associate', :as => 'user_shibboleth_assoc'
#post '/auth/:provider/callback' => 'sessions#oauth_create'
-
+
# fix for activeadmin signout bug
devise_scope :user do
delete '/users/sign_out' => 'devise/sessions#destroy'
end
delete '/users/identifiers/:id', to: 'user_identifiers#destroy', as: 'destroy_user_identifier'
-
+
#ActiveAdmin.routes(self)
#organisation admin area
@@ -77,10 +77,10 @@
get "public_plans" => 'static_pages#public_plans'
get "public_export/:id" => 'static_pages#public_export', as: 'public_export'
get "existing_users" => 'existing_users#index'
-
+
#post 'contact_form' => 'contacts', as: 'localized_contact_creation'
#get 'contact_form' => 'contacts#new', as: 'localized_contact_form'
-
+
resources :orgs, :path => 'org/admin', only: [] do
member do
get 'children'
diff --git a/config/tinymce.yml b/config/tinymce.yml
index 8002f2e..ce9069d 100644
--- a/config/tinymce.yml
+++ b/config/tinymce.yml
@@ -7,6 +7,8 @@
- autoresize
- link
- paste
+ - advlist
+advlist_bullet_styles: "circle,disc,square" #only disc bullets display on htmltoword
target_list: false
autoresize_min_height: 130
autoresize_bottom_margin: 10
diff --git a/db/migrate/20170702012742_ensure_indexes_in_place.rb b/db/migrate/20170702012742_ensure_indexes_in_place.rb
new file mode 100644
index 0000000..6bd9410
--- /dev/null
+++ b/db/migrate/20170702012742_ensure_indexes_in_place.rb
@@ -0,0 +1,40 @@
+class EnsureIndexesInPlace < ActiveRecord::Migration
+ def change
+ #users_perms
+ remove_index :users_perms, name: 'index_users_perms_on_user_id_and_perm_id'
+ add_index :users_perms, :user_id
+ #user_identifiers
+ add_index :user_identifiers, :user_id
+ #roles
+ add_index :roles, :user_id
+ add_index :roles, :plan_id
+ #org_token_permissions
+ add_index :org_token_permissions, :org_id
+ #users
+ add_index :users, :org_id
+ remove_index :users, :confirmation_token
+ remove_index :users, :invitation_token
+ remove_index :users, :reset_password_token
+ #notes
+ add_index :notes, :answer_id
+ #guidance_groups
+ add_index :guidance_groups, :org_id
+ #guidance
+ add_index :guidances, :guidance_group_id
+ #themes_in_guidance
+ add_index :themes_in_guidance, :theme_id
+ add_index :themes_in_guidance, :guidance_id
+ #annotations
+ add_index :annotations, :question_id
+ #question_themes
+ remove_index :questions_themes, name: 'question_theme_index'
+ remove_index :questions_themes, name: 'theme_question_index'
+ add_index :questions_themes, :question_id
+ #question_options
+ add_index :question_options, :question_id
+ #answers_question_options
+ remove_index :answers_question_options, name: 'answer_question_option_index'
+ remove_index :answers_question_options, name: 'question_option_answer_index'
+ add_index :answers_question_options, :answer_id
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index fd97cce..1c7f711 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20170428083711) do
+ActiveRecord::Schema.define(version: 20170702012742) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -25,6 +25,8 @@
t.datetime "updated_at"
end
+ add_index "annotations", ["question_id"], name: "index_annotations_on_question_id", using: :btree
+
create_table "answers", force: :cascade do |t|
t.text "text"
t.integer "plan_id"
@@ -40,8 +42,7 @@
t.integer "question_option_id", null: false
end
- add_index "answers_question_options", ["answer_id", "question_option_id"], name: "answer_question_option_index", using: :btree
- add_index "answers_question_options", ["question_option_id", "answer_id"], name: "question_option_answer_index", using: :btree
+ add_index "answers_question_options", ["answer_id"], name: "index_answers_question_options_on_answer_id", using: :btree
create_table "exported_plans", force: :cascade do |t|
t.integer "plan_id"
@@ -93,6 +94,8 @@
t.boolean "published"
end
+ add_index "guidance_groups", ["org_id"], name: "index_guidance_groups_on_org_id", using: :btree
+
create_table "guidances", force: :cascade do |t|
t.text "text"
t.integer "guidance_group_id"
@@ -102,6 +105,8 @@
t.boolean "published"
end
+ add_index "guidances", ["guidance_group_id"], name: "index_guidances_on_guidance_group_id", using: :btree
+
create_table "identifier_schemes", force: :cascade do |t|
t.string "name"
t.string "description"
@@ -129,6 +134,8 @@
t.datetime "updated_at"
end
+ add_index "notes", ["answer_id"], name: "index_notes_on_answer_id", using: :btree
+
create_table "org_token_permissions", force: :cascade do |t|
t.integer "org_id"
t.integer "token_permission_type_id"
@@ -136,6 +143,8 @@
t.datetime "updated_at"
end
+ add_index "org_token_permissions", ["org_id"], name: "index_org_token_permissions_on_org_id", using: :btree
+
create_table "orgs", force: :cascade do |t|
t.string "name"
t.string "abbreviation"
@@ -219,6 +228,8 @@
t.datetime "updated_at"
end
+ add_index "question_options", ["question_id"], name: "index_question_options_on_question_id", using: :btree
+
create_table "questions", force: :cascade do |t|
t.text "text"
t.text "default_value"
@@ -238,8 +249,7 @@
t.integer "theme_id", null: false
end
- add_index "questions_themes", ["question_id", "theme_id"], name: "question_theme_index", using: :btree
- add_index "questions_themes", ["theme_id", "question_id"], name: "theme_question_index", using: :btree
+ add_index "questions_themes", ["question_id"], name: "index_questions_themes_on_question_id", using: :btree
create_table "regions", force: :cascade do |t|
t.string "abbreviation"
@@ -256,6 +266,9 @@
t.integer "access", default: 0, null: false
end
+ add_index "roles", ["plan_id"], name: "index_roles_on_plan_id", using: :btree
+ add_index "roles", ["user_id"], name: "index_roles_on_user_id", using: :btree
+
create_table "sections", force: :cascade do |t|
t.string "title"
t.text "description"
@@ -319,6 +332,9 @@
t.integer "guidance_id"
end
+ add_index "themes_in_guidance", ["guidance_id"], name: "index_themes_in_guidance_on_guidance_id", using: :btree
+ add_index "themes_in_guidance", ["theme_id"], name: "index_themes_in_guidance_on_theme_id", using: :btree
+
create_table "token_permission_types", force: :cascade do |t|
t.string "token_type"
t.text "text_description"
@@ -334,14 +350,16 @@
t.integer "identifier_scheme_id"
end
+ add_index "user_identifiers", ["user_id"], name: "index_user_identifiers_on_user_id", using: :btree
+
create_table "users", force: :cascade do |t|
t.string "firstname"
t.string "surname"
t.string "email", default: "", null: false
t.string "orcid_id"
t.string "shibboleth_id"
- t.datetime "created_at"
- t.datetime "updated_at"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
t.string "encrypted_password", default: ""
t.string "reset_password_token"
t.datetime "reset_password_sent_at"
@@ -367,17 +385,15 @@
t.integer "language_id"
end
- add_index "users", ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true, using: :btree
add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree
- add_index "users", ["invitation_token"], name: "index_users_on_invitation_token", unique: true, using: :btree
- add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, using: :btree
+ add_index "users", ["org_id"], name: "index_users_on_org_id", using: :btree
create_table "users_perms", id: false, force: :cascade do |t|
t.integer "user_id"
t.integer "perm_id"
end
- add_index "users_perms", ["user_id", "perm_id"], name: "index_users_perms_on_user_id_and_perm_id", using: :btree
+ add_index "users_perms", ["user_id"], name: "index_users_perms_on_user_id", using: :btree
add_foreign_key "annotations", "orgs"
add_foreign_key "annotations", "questions"
diff --git a/doc/data_model.png b/doc/data_model.png
new file mode 100644
index 0000000..cb83c4d
--- /dev/null
+++ b/doc/data_model.png
Binary files differ
diff --git a/lib/assets/javascripts/admin.js b/lib/assets/javascripts/admin.js
index 4dc2829..24bd345 100644
--- a/lib/assets/javascripts/admin.js
+++ b/lib/assets/javascripts/admin.js
@@ -46,6 +46,7 @@
last.after(clone);
});
+
if($('.in').length > 0) {
if ($('.in .current_question').length > 0) {
$(document.body).animate({
@@ -59,15 +60,6 @@
}
}
- //set the tinymce popover help text
- $(".template_desc_popover, .phase_desc_popover, .version_desc_popover, .section_desc_popover, .question_format_popover," +
- " .default_answer_popover, .suggested_answer_popover, .question_guidance_popover, .question_themes_popover," +
- " .question_options_popover, .guidance_group_title_popover, .guidance_group_template_popover," +
- " .guidance_group_subset_popover, .guidance_text_popover, .guidance_apply_to_popover, .guidance_by_themes_popover," +
- " .guidance_by_question_popover, .guidance_group_select_popover, .org_abbr_popover").on('click', function(e) {
- e.preventDefault();
- }).popover();
-
// This handler serves to display/hide default_answer field as well as to display/hide question_options fields
// depending on the question_format selected
$('.question_format').change(function(){
diff --git a/lib/assets/javascripts/bootstrap_listeners.js b/lib/assets/javascripts/bootstrap_listeners.js
index 409805d..269b1da 100644
--- a/lib/assets/javascripts/bootstrap_listeners.js
+++ b/lib/assets/javascripts/bootstrap_listeners.js
@@ -15,9 +15,10 @@
$(this).parent().find('.minus-laranja').removeClass('minus-laranja').addClass('plus-laranja');
});
// Initialises all tooltips present on a page
- $('.has-tooltip').tooltip({
- placement: "right",
- trigger: "focus"
- });
+ $('.has-tooltip').tooltip({ placement: "right", trigger: "focus" });
$(".help").popover();
+ //Initiliases all popovers on a page
+ $('[data-toggle="popover"]').on('click', function(e){
+ e.preventDefault();
+ }).popover();
});
\ No newline at end of file
diff --git a/lib/assets/javascripts/shared/register_form.js b/lib/assets/javascripts/shared/register_form.js
index 0a2be6c..ccf8642 100644
--- a/lib/assets/javascripts/shared/register_form.js
+++ b/lib/assets/javascripts/shared/register_form.js
@@ -12,12 +12,26 @@
allowClear: true
});
// TODO removing once the new create account functionality is in place
+ $('#user_org_id').on("change", function(e) {
+ e.preventDefault();
+ var selected_org = $(this).select2("val");
+ var other_orgs = $("#other-org-name").attr("data-orgs").split(",");
+ var index = $.inArray(selected_org, other_orgs);
+ if (index > -1) {
+ $("#other-org-name").show();
+ $("#user_other_organisation").focus();
+ }
+ else {
+ $("#other-org-name").hide();
+ $("#user_other_organisation").val("");
+ }
+ });
$("#other-org-link > a").click(function(e){
e.preventDefault();
- var other_org = $("#other-organisation-name").attr("data-orgs").split(",");
- $("#user_organisation_id").select2("val", other_org);
- $("#other-org-link").hide();
- $("#user_organisation_id").change();
+ var other_org = $("#other-org-name").attr("data-orgs").split(",");
+ $("#user_org_id").select2("val", other_org);
+ $("#user_org_id").change();
+ //$("#other-org-link").hide();
});
$("#user_email.text_field.reg-input").change(function(){
if (email_regex.test($(this).val())) {