\ No newline at end of file
diff --git a/app/views/branded/static_pages/help.html.erb b/app/views/branded/static_pages/help.html.erb
deleted file mode 100644
index e2705dd..0000000
--- a/app/views/branded/static_pages/help.html.erb
+++ /dev/null
@@ -1,36 +0,0 @@
-<% title _('Help') %>
-
-
-
diff --git a/app/views/branded/static_pages/news_feed.html.erb b/app/views/branded/static_pages/news_feed.html.erb
new file mode 100644
index 0000000..2d6e2b5
--- /dev/null
+++ b/app/views/branded/static_pages/news_feed.html.erb
@@ -0,0 +1,29 @@
+<% title d_('dmpopidor', 'Latest news') %>
+
+ <% news_left = @dcc_news_feed.entries.count %>
+ <% @dcc_news_feed.entries.each do |entry| %>
+
<%= entry.title.sanitize %>
+ <% summary = entry.summary.sanitize %>
+ <% summary = summary.gsub(/\A
])+>/, "") %>
+ <% summary = summary.gsub(/\A
])+>/, "") %>
+ <% name = summary[/\A[\s\w]*([^,])/].strip %>
+ <% summary = summary.gsub(/\A.*div>/, "") %>
+ <% summary = summary.gsub(/
.*\z/, "") %>
+ <% summary = summary.gsub /(.*)<\/a>/, ' Voir l\'article complet ...' %>
+ <%= raw summary.strip %>
+ Par <%= entry.author %> le <%= entry.published.strftime("%d/%m/%Y") %>
+ Voir plus sur le <%= link_to "site OPIDoR", entry.url, :target => '_blank' %>
+
+
+ <%if news_left.to_i > 1 then %>
+
+ <%else%>
+
+ <%end%>
+ <% news_left = news_left - 1 %>
+ <% end %>
+
\ No newline at end of file
diff --git a/app/views/branded/static_pages/termsuse.html.erb b/app/views/branded/static_pages/termsuse.html.erb
deleted file mode 100644
index 70e1977..0000000
--- a/app/views/branded/static_pages/termsuse.html.erb
+++ /dev/null
@@ -1,7 +0,0 @@
-<% title _('Terms of use') %>
-
- <%= t('terms_page.title')%>
-
-
- <%= raw t('terms_page.body_text_html')%>
-
diff --git a/app/views/branded/super_admin/static_pages/_form.html.erb b/app/views/branded/super_admin/static_pages/_form.html.erb
new file mode 100644
index 0000000..94fd925
--- /dev/null
+++ b/app/views/branded/super_admin/static_pages/_form.html.erb
@@ -0,0 +1,70 @@
+<%
+url = if @static_page.new_record?
+ super_admin_static_pages_path
+else
+ super_admin_static_page_path(@static_page)
+end
+%>
+
+<%= form_for @static_page, url: url, html: { class: 'static_page' } do |f| %>
+
+
+
+ <%= f.label :name, _('Name'), class: 'control-label' %>
+ <%= f.text_field :name, class: 'form-control', value: @static_page.name, "aria-required": true %>
+
+
+
+
+ <%= f.label :url, d_('dmpopidor', 'URL suffix'), class: 'control-label' %>
+ <%= f.text_field :url, class: 'form-control', value: @static_page.url, "aria-required": true, data: { toggle: 'tooltip' }, title: _('Suffix only (e.g. for /about page, type "about")') %>
+
+
+
+
+ <%= f.label :in_navigation, d_('dmpopidor', 'Show in menu'), class: 'control-label' %>
+ <%= f.check_box :in_navigation, value: @static_page.in_navigation %>
+
+
+ <%= f.label d_('dmpopidor', 'Content') %>
+
+
+
+
+
+
+ <%= f.fields_for :static_page_contents do |ff| %>
+
+ <%= ff.hidden_field :language_id, value: ff.object.language.id %>
+
+ <%= ff.label :title, _('Title'), class: 'control-label' %>
+ <%= ff.text_field :title, value: ff.object.title, class: 'form-control' %>
+
+
+ <%= ff.label :content, d_('dmpopidor', 'Content'), class: 'control-label' %>
+ <%= ff.text_area :content, value: ff.object.content, class: 'content-editor form-control' %>
+
+
+ <% end %>
+
+
+
+
+ <%= f.button _('Save'), class: 'btn btn-default', type: 'submit' %>
+ <%= link_to(
+ _('Delete'),
+ super_admin_static_page_path(@static_page),
+ class: 'btn btn-default',
+ method: :delete,
+ data: { confirm: _('Are you sure you want to delete the Static Page "%{name}"') % { name: @static_page.name }}
+ ) unless @static_page.new_record? %>
+ <%= link_to _('Cancel'), super_admin_static_pages_path, class: 'btn btn-default' %>
+
+
+<% end %>
\ No newline at end of file
diff --git a/app/views/branded/super_admin/static_pages/edit.html.erb b/app/views/branded/super_admin/static_pages/edit.html.erb
new file mode 100644
index 0000000..273acfe
--- /dev/null
+++ b/app/views/branded/super_admin/static_pages/edit.html.erb
@@ -0,0 +1,3 @@
+
<%= d_('dmpopidor', 'Editing Static Page') %>
+
+<%= render 'form' %>
\ No newline at end of file
diff --git a/app/views/branded/super_admin/static_pages/index.html.erb b/app/views/branded/super_admin/static_pages/index.html.erb
new file mode 100644
index 0000000..7095e9a
--- /dev/null
+++ b/app/views/branded/super_admin/static_pages/index.html.erb
@@ -0,0 +1,21 @@
+
+
+
<%= d_('dmpopidor', 'Static pages') %>
+
+
+
+
+
+ <%= link_to d_('dmpopidor', '+ Add New Static page'), new_super_admin_static_page_path, class: 'btn btn-default', role: 'button' %>
+
+
+ <%= paginable_renderise(
+ partial: '/paginable/static_pages/index',
+ controller: 'paginable/static_pages',
+ action: 'index',
+ scope: static_pages,
+ query_params: { sort_field: 'static_pages.name', sort_direction: 'desc' }
+ ) %>
+
+
+
\ No newline at end of file
diff --git a/app/views/branded/super_admin/static_pages/new.html.erb b/app/views/branded/super_admin/static_pages/new.html.erb
new file mode 100644
index 0000000..608802a
--- /dev/null
+++ b/app/views/branded/super_admin/static_pages/new.html.erb
@@ -0,0 +1,3 @@
+
<%= d_('dmpopidor', 'New Static Page') %>
+
+<%= render 'form' %>
\ No newline at end of file
diff --git a/config/locale/dmpopidor.pot b/config/locale/dmpopidor.pot
index 981dc8a..110f9ad 100644
--- a/config/locale/dmpopidor.pot
+++ b/config/locale/dmpopidor.pot
@@ -226,4 +226,33 @@
msgstr ""
msgid "Banner text"
-msgstr ""
\ No newline at end of file
+msgstr ""
+
+msgid "News"
+msgstr ""
+
+# STATIC PAGES
+
+msgid "More"
+msgstr ""
+
+msgid "Static pages"
+msgstr ""
+
+msgid "+ Add New Static page"
+msgstr ""
+
+msgid "URL suffix"
+msgstr ""
+
+msgid "Show in menu"
+msgstr ""
+
+msgid "Content"
+msgstr ""
+
+msgid "New Static Page"
+msgstr ""
+
+msgid "Editing Static Page"
+msgstr ""
diff --git a/config/locale/en_GB/dmpopidor.po b/config/locale/en_GB/dmpopidor.po
index 3d9325c..dc4233e 100644
--- a/config/locale/en_GB/dmpopidor.po
+++ b/config/locale/en_GB/dmpopidor.po
@@ -224,4 +224,27 @@
msgstr "Autorisations de %{user_email} modifiées avec succès. L'utilisateur a été informé par mail."
msgid "Banner text"
-msgstr "Banner text"
\ No newline at end of file
+msgstr "Banner text"
+
+msgid "News"
+msgstr "News"
+
+# STATIC PAGES
+
+msgid "More"
+msgstr "More"
+
+msgid "Static pages"
+msgstr "Static pages"
+
+msgid "+ Add New Static page"
+msgstr "+ Add New Static page"
+
+msgid "URL suffix"
+msgstr "URL suffix"
+
+msgid "Show in menu"
+msgstr "Show in menu"
+
+msgid "Content"
+msgstr "Content"
\ No newline at end of file
diff --git a/config/locale/fr_FR/dmpopidor.po b/config/locale/fr_FR/dmpopidor.po
index f06c654..2c6129a 100644
--- a/config/locale/fr_FR/dmpopidor.po
+++ b/config/locale/fr_FR/dmpopidor.po
@@ -223,4 +223,33 @@
msgstr "Autorisations de %{user_email} modifiées avec succès. L'utilisateur a été informé par mail."
msgid "Banner text"
-msgstr "Texte de la bannière"
\ No newline at end of file
+msgstr "Texte de la bannière"
+
+msgid "News"
+msgstr "Nouvelles"
+
+msgid "More"
+msgstr "Plus"
+
+# STATIC PAGES
+
+msgid "Static pages"
+msgstr "Pages Statiques"
+
+msgid "+ Add New Static page"
+msgstr "+ Ajouter une nouvelle Page Statique"
+
+msgid "URL suffix"
+msgstr "Suffixe d'URL"
+
+msgid "Show in menu"
+msgstr "Afficher dans le menu"
+
+msgid "Content"
+msgstr "Contenu"
+
+msgid "New Static Page"
+msgstr "Nouvelle page statique"
+
+msgid "Editing Static Page"
+msgstr "Edition d'une page statique"
\ No newline at end of file
diff --git a/config/locales/static_pages/en-GB.yml b/config/locales/static_pages/en-GB.yml
deleted file mode 100644
index df3bd74..0000000
--- a/config/locales/static_pages/en-GB.yml
+++ /dev/null
@@ -1,255 +0,0 @@
-en-GB:
- helpers:
- public_area_label: "Public Area"
- institution_sign_in: "Institutional Access"
- classic_sign_in: "Individual Access"
- sign_up_cil_message: "
The information collected that concerns you will be processed and is destined for the Inist-CNRS (UPS76) and the correspondent for Computing and Liberties (CIL). For the following goal: management of user accounts. The recipients of this data are the administrators of the Inist-CNRS. The duration of conservation of the data is 5 years following the last login.
-
You have the right of access, of correction, of portability, or of removal of this data, or of a limitation of their processing. You can oppose the processing of the data that concerns you and you have the right to withdraw your agreement at any time, by contacting: info-opidor@inist.fr. You can also direct a complaint at a controlling body.
"
-
- about_page:
- title: "About DMP OPIDoR"
- # tab_1: "DMP OPIDoR"
- # tab_2: "Background"
- # une page unique encadrée
-
- body_text_html: "
A Data Management Plan (DMP) is a document that specifies which data will be collected or generated, how they will be managed, shared and preserved during and after the project. Preparing a plan is a good practice of any research project generating data. Moreover, funding bodies and institutions increasingly require their researchers to produce DMPs.
DMP OPIDoR is a tool to help you write a DMP.
DMP OPIDoR is based on the open source DMPRoadmap codebase, which is jointly developped by the Digital Curation Centre (DCC) and the University of California Curation Center (UC3). DMP OPIDoR source code is available on GitHub. DMP OPIDoR has been customised for French researchers.
-
How the tool works
-
DMP OPIDoR includes a number of templates that represent the requirements of different funders and institutions.Users are asked three questions at the outset so we can determine the appropriate template to display. Guidance is provided to help you interpret and answer the questions. This guidance is provided by researcher funders, universities and disciplines.
-
The thematic DCC guidance is listed in 'Data Management Planning themes' by DCC.
-
Getting Started
-
If you do not have a DMP OPIDoR account, click on 'Create an account' on the homepage.
-
If you have an account, please log in :
-
- - with the institutional access. Your DMP OPIDoR account will be linked to your institutional credentials.
- - or with the individual access.
-
-
And start creating or editing your DMP.
-
Please visit the 'Help' page for guidance.
-
Additional Information
-
We are constantly improving the user interface and functionality of DMP OPIDoR. If you would like to contribute with feedback and suggestions, please contact us by emailing info-opidor@inist.fr.
-
Customise DMP OPIDoR
-
DMP OPIDoR can be customised by institutions and scholarly communities. You can add templates for users in your organisation and tailored guidance that explains local support and services. Example answers can also be offered to help users understand what to write in a Data Management Plan. To do this you’ll need to request admin access, so please email us on info-opidor@inist.fr.
"
-
- help_page:
- title: "Help"
- tab_1: "Use DMP OPIDoR"
- tab_2: "Resources, examples and guides"
- body_text_tab_2_html: "
Useful resources on Data or Software Management Planning
-
- -
- Réaliser un plan de gestion de données [PDF, 33 pages]
-
-Reymonet N., Moysan M., Cartier A., Délémontez R. Université Paris Diderot et Université Paris Descartes. 2018.
-
- -
- Tutoriels « Le libre accès aux résultats de la recherche dans le cadre d’Horizon 2020 » [webpage]
- Inist-CNRS. 2015.
-
- -
- Modèle de Plan de Gestion de Logiciel de la Recherche V3.2, Projet PRESOFT, avril 2018 [PDF, 18 pages]
- Gomez-Diaz T., Romier G. 2018.
-
- -
- Checklist for a Software Management Plan. v0.1 [PDF, 25 pages]
- The Software Sustainability Institute. 2016.
-
- -
- Guidelines on FAIR Data Management in Horizon 2020 [PDF, 12 pages]
- European Commission. 2016, v3.0.
-
- -
- Guidelines on Open Access to Scientific Publications and Research Data in Horizon 2020 [PDF, 11 pages]
- European Commission. 2017, v3.2.
-
- -
- ERC Data Management Plan Template [webpage]
- European Research Council. 2017.
-
- -
- DCC Checklist for a Data Management Plan [webpage]
- Digital Curation Centre. 2013, v.4.0. Edinburgh (UK).
- A list of questions and associated guidance, that represent the main issues to come up in Data Management and Sharing Plans.
-
- -
- Adapt your Data Management Plan. A list of Data Management Questions based on the Expert Tour Guide on Data Management [PDF, 6 pages]
- CESSDA. 2017.
-
-
-
Example Data Management Plans
-
Examples of H2020 DMPs :
-
- - AMECRYS Revolutionising Downstream Processing of Monoclonal Antibodies by Continuous Template-Assisted Membrane Crystallization. [PDF, 23 pages]
- - PIE News Poverty, Income, and Employment News NEWS. [PDF, 29 pages]
- - CompBiomed A Centre of Excellence in Computational Biomedicine. [PDF, 15 pages]
- - AQUASCOM Network of Leading European AQUAtic MesoCOSM Facilities Connecting Mountains to Oceans from the Arctic to the Mediterranean. [PDF, 18 pages]
-
-
Other examples of DMPs
-
- -
- Rio journal Data Management Plan collection [webpage]
- A selection of DMPs published in the Research Information and Outcomes journal.
-
- -
- LIBER DMP Catalogue [webpage]
- Data Management Plan Catalogue (DMP) of the LIBER Research Data Management Working Group.
-
- -
- Two social science DMPs [PDF, 7 pages]
- Example plans from researchers at the University of Leeds, shared as part of the Leeds RoaDMaP training materials.
-
- -
- Psychology DMP [PDF, 11 pages]
- A very detailed, fictional psychology DMP produced by the DMTpsych RDM training project, based on a seminal psychology experiment.
-
- -
- UCSD Example Data Management Plans [webpage]
- Over 20 example plans submitted to the National Science Foundation (NSF) in the United States by academics at UC San Diego.
-
- -
- NSF data management plans [webpage]
- 5 DMPs submitted to the NSF, shared by the DataOne initiative.
-
- -
- Biology and chemistry DMPs [webpage]
- Three example DMPs from the USA shared by NECDMC, an instructional tool for teaching RDM to undergraduates, graduate students, and researchers in the health sciences, sciences and engineering.
- -
- Data management plans from successful grant applications (2011-2014) [webpage]
- National Endowment for the Humanities (NEH).
- -
- Data Management Plan formats [webpage]
- Example DMPs produced by PhD candidates and Chair Group at Wageningen UR (Netherlands).
-
-
-
Useful guides on Research Data Management in general
-
- -
- Gestion et partage des données scientifiques [webpage]
- Pôle IST sur les Données de la Recherche (Digitalist) - INRA.
-
- -
- Gestion des données de recherche [page web]
- IRSTEA - Appui à la gestion des données de la recherche.
-
- -
- DoRANum (Données de la Recherche : Apprentissage NUMérique à la gestion et au partage) [webpage]
- Inist-CNRS, Urfist, BSN9, Dist-CNRS.
- DoRANum project aims to establish a coordinated access remote training system, integrating different self-training on the theme of the management and sharing of research data resources.
-
- -
- Gérer les données de la recherche [webpage]
- CoopIST Coopérer en information scientifique et technique - CIRAD.
-
- -
- Site d'information sur les Données de la Recherche [webpage]
- With the support of the French Ministry for Higher Education and Research, Inist-CNRS developed an information platform on research data. Editorial manager: Thérèse Hameau.
-
- -
- Les données de la recherche [webpage]
- Serres A., Vignale F. In UEB (Université Européenne de Bretagne). Form@doct. Rennes : UEB, janvier 2016.
-
- -
- Ouverture des données de la recherche. Guide d'analyse du cadre juridique en France [PDF, 45 pages]
- Becard N., Castets-Renard C., Chassang G., Dantant M., Freyt-Caffin L., Gandon N., Martin C., Martelletti A., Mendoza-Caminade A., Morcrette N., Neirac C. 2017. DOI : 10.15454/1.481273124091092E12.
-
- -
- Open Research Data and Data Management Plans. Information for ERC grantees. [PDF, 15 pages]
- European Research Council, Scientific Council. 2018, v1.0.
-
- -
- How to Cite Datasets and Link to Publications [PDF, 12 pages]
- Ball A., Duke M. 2015. DCC How-to Guides. Edinburgh: Digital Curation Centre.
- A guide by the Digital Curation Centre giving practical guidelines on how to cite data and the different tools and infrastructure that can be used to support data citation.
-
- -
- Data Citation of Evolving Data: Recommendations of the Working Group on Data Citation (WGDC) [webpage]
- Rauber A., Asmi A., Uytvanck van D., Pröll S. Research Data Alliance, Data Citation WG. 2015.
-
- -
- Software Citation Principles [webpage]
- Smith A.M., Katz D.S., Niemeyer K.E., FORCE11 Software Citation Working Group. 2016. PeerJ Computer Science 2:e86. DOI: 10.7717/peerj-cs.86.
-
-
"
- body_text_tab_1_html: "
When you login to DMP OPIDoR 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 '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 template 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, institution 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 and post-award. Choose what format you would like to view/download your plan in and click to export.
"
-
- terms_page:
- title: "Terms of use"
- body_text_html: "
-
DMP OPIDoR is provided by the National Centre for Scientific Research (CNRS) for the French Higher Education and Research community.
-
Use of the tool indicates that you understand and agree to all the terms and conditions.
-
Furthermore, all users of DMP OPIDoR acknowledge that they have previously read the Safety of Information Systems charter from CNRS (see page 20).
-
Legal Notices
-
The site is published by:
-
- - National Centre for Scientific Research (Centre National de la Recherche Scientifique - CNRS)
- - Headquarters: 3 rue Michel Ange
- - 75794 PARIS Cedex 16 – France
-
-
- - Phone: +33 (0)1 44 96 40 00
- - Fax: +33 (0)1 44 96 53 90
-
-
It is hosted and managed by:
-
- - Inist-CNRS (CNRS service unit)
- - 2, allée du Parc de Brabois
- - CS10310
- - F-54519 VANDOEUVRE-LES-NANCY Cedex – France
-
-
- - Phone: +33 (0)3 83 50 46 00
- - Fax: +33 (0)3 83 50 46 50
-
-
Publisher: Antoine Petit
-
Editorial Director: Claire François
-
User support Department: info-opidor@inist.fr
-
Your personal details
-
To help identify and administer your account with DMP OPIDoR, we need to store specific user information: email address, surname, first name, home institution, ORCID, last login. We may also use it to inform you of the latest developments of the tool, maintenance and security issues. We will not sell, rent, deliver or trade any personal information you provide us with.
-
This site contains personal data about DMP OPIDoR’s users and has been registered with the French Data Protection Authority, the CIL-CNRS (record number : 2-16052).
-
According to the law n° 78-17 of January 6, 1978 'Informatique et Libertés/software and freedoms' (articles 38, 39 and 40), you have the right to access the information as well as to rectify and delete data on this site that concerns you personally.
-
To exercise this right, please contact us at info-opidor@inist.fr
-
Data from an unused account (as a result of non-use of the service by the user) will be systematically anonymized within the 5 years following the last connection and you will no longer have access to the application and consequently to your data management plans.
-
Moreover, authorized officers of your home institution (CNRS or other research organizations) have access to your email address, your surname/first name, last logged in and how many data management plans you have created. It is up to these officers to make use of this information in accordance with regulations in force and recommendations of the CNIL.
-
Privacy policy
-
The information you enter into this system can be seen by you, people you have chosen to share access with, and - solely for the purposes of maintaining the service - system administrators of the CNRS. We will not directly access, make use of, or share your data management plans content with anyone else without your permission.
-
Intellectual property
-
The DMP OPIDoR tool is built with an open source software called DMPRoadmap, which is developed by the UK’s Digital Curation Centre (DCC) and University of California Curation Center (UC3) and is made available under a MIT License. We will share the source code of our modified version on GitHub under the same license.
-
Disclaimer
-
The CNRS cannot in any way be held liable for any damage, no matter the nature, resulting from the interpretation or use of information and/or documents available on this site.
-
The host can interrupt access to the site at any time, without prior notice, in the event of a security issue.
-
Hyperlinks
-
The creation of hyperlinks by third parties to pages or documents in the CNRS website is permitted provided that the links are not contrary to the interests of the CNRS, and that they ensure the possibility for the user to identify the origin and author.
-
Passwords
-
Your password is stored in an encrypted form and cannot be retrieved. If forgotten, it has to be reset
-
Cookies and statistics
-
To adapt our site to the users' needs, we measure the number of visits, page views, visitors' activity and return frequency.
-
Matomo, the statistics tool used by CNRS generates a cookie with a unique ID, whose storage is limited to 13 months.
-
We also collect your IP address to identify your geographical location, which is then immediately anonymized and cannot be used by CNRS to trace a physical person.
-
The information collected is not disclosed to third parties nor used for other purposes.
-
Your browser can be configured to notify you the cookies stored on your computer and to ask you to accept them or not. You can accept or reject cookies on a case-by-case basis or choose to systematically reject them. Remember that changing settings may modify your access conditions to our services which require the use of cookies.
-
Each browser has a different cookies configuration. This configuration is mostly described in your browser's help menu.
-
-
Law applicable
-
The site is governed by French legislation, no matter where the website is used. In the event of potential disputes and following failed attempts to find an amicable solution, the French courts alone shall handle the dispute.
-
If you have any comments or queries about our terms of use, please contact us at info-opidor@inist.fr.
-
Changes to the terms of use
-
The CNRS reserves the right to modify at any time the present terms of use to adapt to the changing of the site and/or its holding.
-
Users will be provided with information on such modifications on the home page. If users do not agree with the new terms of use, they will be able to close their account.
-
-
"
diff --git a/config/locales/static_pages/fr-FR.yml b/config/locales/static_pages/fr-FR.yml
deleted file mode 100644
index 8207623..0000000
--- a/config/locales/static_pages/fr-FR.yml
+++ /dev/null
@@ -1,258 +0,0 @@
-fr-FR:
- helpers:
- public_area_label: "Section publique"
- institution_sign_in: "Accès institutionnel"
- classic_sign_in: "Accès individuel"
- sign_up_cil_message: "
Les informations recueillies vous concernant vont faire l’objet d’un traitement destiné à l'Inist-CNRS (UPS76) et au correspondant Informatique et Libertés. Pour la finalité suivante : gestion des comptes des utilisateurs. Les destinataires de ces données sont les administrateurs DMP OPIDoR de l’Inist-CNRS. La durée de conservation des données est de 5 ans suite à la dernière connexion.
-
Vous bénéficiez d’un droit d’accès, de rectification, de portabilité, d’effacement de celles-ci ou une limitation du traitement. Vous pouvez vous opposer au traitement des données vous concernant et disposez du droit de retirer votre consentement à tout moment en vous adressant à info-opidor@inist.fr. Vous avez la possibilité d’introduire une réclamation auprès d’une autorité de contrôle.
"
-
- about_page:
- title: "A propos de DMP OPIDoR"
- # tab_1: "DMP OPIDoR"
- # tab_2: "Dernières nouvelles"
- # une page unique encadrée
-
- body_text_html: "
Un plan de gestion de données (DMP) est un document qui spécifie quelles données sont collectées ou générées, comment celles-ci sont gérées, partagées et préservées pendant et après le projet. L'élaboration d'un plan de gestion est une bonne pratique pour tout projet de recherche générant des données. Par ailleurs, les organismes de financement et les institutions exigent de plus en plus de leurs chercheurs la production de DMPs.
DMP OPIDoR est un outil d'aide à la rédaction de DMP.
DMP OPIDoR est basé sur le code open source DMPRoadmap qui a été developpé par le Digital Curation Centre (DCC) et l'University of California Curation Center (UC3). Le code source de DMP OPIDoR est disponible sur GitHub. DMP OPIDoR a été personnalisé pour les chercheurs français.
-
Fonctionnement de l'outil
-
DMP OPIDoR propose un certain nombre de modèles répondant aux exigences d'organismes de financement et d'institutions. Au départ, les utilisateurs doivent répondre à trois questions pour que nous puissions déterminer le modèle qu'il convient d'afficher. Des recommandations vous sont fournies pour vous permettre d'interpréter et de répondre aux questions. Ces recommandations sont proposées par les agences de financement, les institutions et les disciplines.
-
Les recommandations du Digital Curation Centre (DCC) sont issues du document suivant : 'Data Management Planning themes' du DCC.
-
Pour commencer...
-
En l'absence de compte DMP OPIDoR, cliquez sur 'Créer un compte' en page d'accueil.
-
Si vous avez un compte, connectez vous :
-
- - par l'accès institutionnel. Votre compte DMP OPIDoR sera lié à votre compte institutionnel.
- - ou par l'accès individuel.
-
-
Vous pouvez commencer à créer ou modifier votre plan de gestion des données.
-
Consultez la page d''Aide' pour quelques conseils.
-
Autres informations
-
Nous améliorons constamment l'interface utilisateur de DMP OPIDoR et ses fonctionnalités. Si vous souhaitez apporter une contribution par un retour ou des suggestions, veuillez nous contacter par courriel : info-opidor@inist.fr.
-
Personnaliser DMP OPIDoR
-
DMP OPIDoR peut être personnalisé par institutions et disciplines. Vous pouvez ajouter des modéles et des conseils pour les utilisateurs de votre organisme leur indiquant les différents supports et services proposés. Des exemples de réponses peuvent être ajoutés afin d'aider les utilisateurs à rédiger leur plan de gestion de données. Pour ce faire, vous devrez demander l'accés administrateur en nous contactant à cette adresse info-opidor@inist.fr.
"
-
-
- help_page:
- title: "Aide"
- tab_1: "Utiliser DMP OPIDoR"
- tab_2: "Ressources, exemples et conseils"
- body_text_tab_2_html: "
Ressources utiles pour rédiger un Data ou un Software Management Plan
-
- -
- Réaliser un plan de gestion de données 'FAIR' : modèle [PDF, 33 pages]
-
- Reymonet N., Moysan M., Cartier A., Délémontez R. Université Paris Diderot et Université Paris Descartes. 2018. Ce document a pour vocation d’accompagner les chercheurs et chargés de projets dans la rédact.. 2018.
-
- -
- Tutoriels « Le libre accès aux résultats de la recherche dans le cadre d’Horizon 2020 » [page web]
- Inist-CNRS. 2015.
-
- -
- Modèle de Plan de Gestion de Logiciel de la Recherche V3.2, Projet PRESOFT, avril 2018 [PDF, 18 pages]
- Gomez-Diaz T., Romier G. 2018.
-
- -
- Checklist for a Software Management Plan. v0.1 [PDF, 25 pages]
- The Software Sustainability Institute. 2016.
-
- -
- Guidelines on FAIR Data Management in Horizon 2020 [PDF, 12 pages]
- European Commission. 2016, v3.0.
-
- -
- Guidelines on Open Access to Scientific Publications and Research Data in Horizon 2020 [PDF, 11 pages]
- European Commission. 2017, v3.2.
-
- -
- ERC Data Management Plan Template [page web]
- European Research Council. 2017.
-
- -
- Checklist for a Data Mangement Plan [page web]
- Digital Curation Centre. 2013, v.4.0. Edinburgh (UK).
- Une liste de 13 questions et de recommandations associées, qui présentent les principales problématiques abordées dans les DMPs.
-
- -
- Adapt your Data Management Plan. A list of Data Management Questions based on the Expert Tour Guide on Data Management [PDF, 6 pages]
- CESSDA. 2017.
-
-
-
Exemples de Data Management Plans
-
Quelques exemples de DMPs rédigés dans le cadre de projets Horizon 2020 :
-
- - AMECRYS Revolutionising Downstream Processing of Monoclonal Antibodies by Continuous Template-Assisted Membrane Crystallization. [PDF, 23 pages]
- - PIE News Poverty, Income, and Employment News NEWS. [PDF, 29 pages]
- - CompBiomed A Centre of Excellence in Computational Biomedicine. [PDF, 15 pages]
- - AQUASCOM Network of Leading European AQUAtic MesoCOSM Facilities Connecting Mountains to Oceans from the Arctic to the Mediterranean; [PDF, 18 pages]
-
-
Autres exemples de DMPs
-
- -
- Rio journal Data Management Plan collection [page web]
- Une sélection de plans de gestion de données publiés dans RIO (Research Ideas and Outcomes journal).
-
- -
- LIBER DMP Catalogue [page web]
- Catalogue de DMPs proposé par le groupe de travail « Research Data Management Working Group » du LIBER.
-
- -
- Two social science DMPs [PDF, 7 pages]
- Exemples de plans réalisés par des chercheurs de l'Université de Leeds, partagés dans le cadre des supports de formation Leeds RoaDMaP.
-
- -
- Psychology DMP [PDF, 11 pages]
- Un DMP fictif très détaillé en psychologie élaboré par le projet pédagogique DMTpsych RDM, à partir de travaux expérimentaux précurseurs.
-
- -
- UCSD Example Data Management Plans [page web]
- Une vingtaine d'exemples de DMP proposés à la National Science Foundation (NSF) aux États-Unis par des enseignants chercheurs de l'Université de Californie à San Diego.
-
- -
- NSF data management plans [page web]
- 5 DMP soumis à la NSF, partagés par la DataOne initiative.
-
- -
- Biology and chemistry DMPs [page web]
- Trois exemples de DMPs américains partagés par NECDMC, un outil pédagogique pour la formation à la gestion de données de recherche d'étudiants de niveaux L, M et en recherche en Sciences, Technologies et Médecine.
- -
- Data management plans from successful grant applications (2011-2014) [page web]
- National Endowment for the Humanities (NEH).
- -
- Data Management Plan formats [pageWeb]
- Exemple de DMP produits par les candidats au doctorat et la chaire présidentielle de l'Université de Wageningen UR (Pays-Bas).
-
-
-
Guides et sites sur la gestion des données de la recherche
-
- -
- Gestion et partage des données scientifiques [page web]
- Pôle IST sur les Données de la Recherche (Digitalist) - INRA.
-
- -
- Gestion des données de recherche [page web]
- IRSTEA - Appui à la gestion des données de la recherche.
-
- -
- DoRANum (Données de la Recherche : Apprentissage NUMérique à la gestion et au partage) [page web]
- Inist-CNRS, Réseau des Urfist, BSN9, Dist-CNRS.
- Le projet DoRANum a pour objectif de mettre en place un dispositif de formation à distance d’accès coordonné, intégrant différentes ressources d’auto-formation sur la thématique de la gestion et du partage des données de la recherche.
-
- -
- Gérer les données de la recherche [page web]
- CoopIST Coopérer en information scientifique et technique - CIRAD.
-
- -
- Site d'information sur les Données de la Recherche [page web]
- Avec le support du Ministère français de l'Enseignement Supérieur et de la Recherche, L'inist-CNRS développe une plateforme d'information sur les données de la recherche. Directrice de la rédaction: Thérèse Hameau.
-
- -
- Les données de la recherche [page web]
- Serres A., Vignale F. In UEB (Université Européenne de Bretagne). Form@doct. Rennes : UEB, janvier 2016.
-
- -
- Ouverture des données de la recherche. Guide d'analyse du cadre juridique en France [PDF, 46 pages]
- Becard N., Castets-Renard C., Chassang G., Dantant M., Freyt-Caffin L., Gandon N., Martin C., Martelletti A., Mendoza-Caminade A., Morcrette N., Neirac C. 2017. DOI : 10.15454/1.481273124091092E12.
-
- -
- Open Research Data and Data Management Plans. Information for ERC grantees. [PDF, 15 pages]
- European Research Council, Scientific Council. 2018, v1.0.
-
- -
- How to Cite Datasets and Link to Publications [PDF, 12 pages]
- Ball A., Duke M. 2015. DCC How-to Guides. Digital Curation Centre.Edinburgh (UK).
- Un guide édité par le Digital Curation Centre (Centre de curation numérique britannique - DCC) contenant des recommandations pratiques sur la manière de citer des données et signalant les différents outils et infrastructures de référencement de données.
-
- -
- Data Citation of Evolving Data: Recommendations of the Working Group on Data Citation (WGDC) [page web]
- Rauber A., Asmi A., Uytvanck van D., Pröll S. Research Data Alliance, Data Citation WG. 2015.
-
- -
- Software Citation Principles [page web]
- Smith A.M., Katz D.S., Niemeyer K.E., FORCE11 Software Citation Working Group. 2016. PeerJ Computer Science 2:e86. DOI: 10.7717/peerj-cs.86.
-
-
"
- body_text_tab_1_html: "
Quand vous vous connectez à DMP OPIDoR, vous êtes redirigé vers la page intitulée 'Mes plans'. À partir de là, vous pouvez modifier, partager, exporter ou supprimer l'un de vos plans. Apparaissent également les plans que d'autres ont partagé avec vous.
-
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 supérieur. Sélectionnez dans les listes déroulantes et les cases à cocher afin de déterminer les questions et les recommandations à afficher. Confirmez votre choix en cliquant sur 'Créer un plan'.
-
Rédiger votre plan
-
L'interface sous forme d'onglets vous permet de naviguer dans diverses rubriques lorsque vous rédigez votre plan.
-
- - L'onglet 'Renseignements sur le plan' comprend quelques renseignements administratifs, indique le modèle et les recommandations sur lesquels votre plan s'appuiera et vous donne un aperçu des questions auxquelles vous devez répondre.
- - Les onglets suivants contiennent les questions auxquelles vous pouvez répondre. Il peut y avoir plusieurs onglets si votre financeur ou votre organisme de recherche 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. Cliquez successivement sur les différentes sections pour répondre aux questions. Vous pouvez mettre en forme vos réponses à l'aide des boutons de l'éditeur de texte.
-
Les recommandations sont affichées dans le cadre à 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
-
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 souhaitez télécharger votre plan et cliquez sur exporter.
"
-
-
-
- terms_page:
- title: "Conditions générales d'utilisation"
- body_text_html: "
-
DMP OPIDoR est mis à disposition de la communauté de l’Enseignement supérieur et de la Recherche française par le Centre National de la Recherche Scientifique (CNRS).
-
Toute utilisation de DMP OPIDoR suppose l’acceptation et le respect de l’ensemble des termes des présentes conditions générales d’utilisation.
-
De plus, tout utilisateur de DMP OPIDoR reconnaît avoir lu, au préalable, la charte de la Sécurité des Systèmes d’Information du CNRS (voir page 20).
-
Mentions légales
-
Le site est édité par :
-
- - CNRS - Centre National de la Recherche Scientifique
- - 3 rue Michel Ange
- - 75794 PARIS Cedex 16 – France
-
-
- - Téléphone : +33 (0)1 44 96 40 00
- - Télécopie : +33 (0)1 44 96 53 90
-
-
Il est géré et hébergé par :
-
- - Inist-CNRS
- - 2, allée du Parc de Brabois
- - CS10310
- - F-54519 VANDOEUVRE-LES-NANCY Cedex – France
-
-
- - Téléphone : +33 (0)3 83 50 46 00
- - Télécopie : +33 (0)3 83 50 46 50
-
-
Directeur de la publication: Antoine Petit
-
Directeur de rédaction: Claire François
-
Service utilisateurs: info-opidor@inist.fr
-
Données personnelles
-
Afin de nous aider à identifier et gérer votre compte utilisateur, nous avons besoin de collecter et stocker des informations qui vous sont propres : courriel, nom, prénom, organisme d'appartenance, identifiant ORCID, date de dernière connexion. Il est possible que nous utilisions ces informations pour vous informer des derniers développements de l’outil, des opérations de maintenance et de sécurité. Nous nous engageons à ne pas vendre ni louer ni échanger ni distribuer à des tiers les informations recueillies vous concernant.
-
Ce site, qui comporte des informations nominatives concernant les utilisateurs de DMP OPIDoR, a fait l'objet d'une déclaration auprès du Correspondant informatique et libertés (CIL) du CNRS (avis n°2-16052).
-
Conformément à la loi n° 78-17 du 6 janvier 1978, relative à l'Informatique, aux fichiers et aux Libertés (article 38, 39 et 40), vous disposez d'un droit d'accès, de rectification et de suppression des données vous concernant, en ligne sur ce site.
-
Pour exercer ce droit, vous pouvez nous contacter par courriel : info-opidor@inist.fr
-
Les données des comptes non utilisés (du fait de la non-utilisation du service par l’utilisateur) seront systématiquement anonymisées dans un délai de 5 ans à compter de la dernière connexion : vous n’aurez dans ce cas plus accès à l’application et par conséquent à vos plans de gestion de données.
-
D’autre part, les agents autorisés par votre institution (CNRS ou autres organismes de recherche) ont accès aux données à caractère personnel suivantes : votre courriel, vos nom/prénom, dates de dernière connexion et le nombre de plans de gestion que vous avez créés. Il appartient à ces agents d'en faire un usage conforme aux réglementations en vigueur et aux recommandations de la CNIL.
-
Politique de confidentialité
-
Les informations que vous entrez dans l’application peuvent être vues par vous, les personnes avec qui vous avez partagé l’accès, et –exclusivement à des fins de maintenance du service – les administrateurs CNRS de l’application. Nous n’aurons pas accès directement, nous n’utiliserons et ne partagerons pas le contenu de vos plans de gestion de données avec quiconque sans votre permission.
-
Propriété intellectuelle
-
L’outil DMP OPIDoR est basé sur le logiciel libre appelé DMPRoadmap qui a été développé conjointement par le Digital Curation Centre (DCC) et l'University of California Curation Center (UC3) et partagé en vertu de la licence MIT. Le code source de la version modifiée sera partagé sur GitHub sous la même licence.
-
Clause de non-responsabilité
-
Le CNRS ne pourra en aucun cas être tenu responsable de tout dommage de quelque nature qu’il soit résultant de l’interprétation ou de l’utilisation des informations et/ou documents disponibles sur ce site.
-
L’hébergeur peut fermer le site à tout moment, sans préavis, en cas d’atteinte à la sécurité.
-
Liens hypertextes
-
La mise en place de liens hypertextes par des tiers vers des pages ou des documents diffusés sur le site du CNRS, est autorisée sous réserve que les liens ne contreviennent pas aux intérêts du CNRS, et, qu'ils garantissent la possibilité pour l'utilisateur d'identifier l'origine et l'auteur du document.
-
Mots de passe
-
Votre mot de passe est mémorisé sous forme cryptée et ne peut pas être récupéré. Si vous avez oublié votre mot de passe, vous devez le réinitialiser.
-
Cookies et statistiques
-
En vue d’adapter le site aux demandes de ses visiteurs, nous mesurons le nombre de visites, le nombre de pages vues ainsi que l’activité des visiteurs sur le site et leur fréquence de retour.
-
Matomo, l’outil de statistiques utilisé par le CNRS, génère un cookie avec un identifiant unique, dont la durée de conservation est limitée à 13 mois.
-
Nous collectons également votre adresse IP, afin de déterminer la ville depuis laquelle vous vous connectez. Celle-ci est immédiatement anonymisée. Le CNRS ne peut donc en aucun cas remonter par ce biais à une personne physique.
-
Les données ne sont pas cédées à des tiers ni utilisées à d’autres fins.
-
Vous pouvez paramétrer votre navigateur afin qu’il vous signale la présence de cookies et vous propose de les accepter ou non. Vous pouvez accepter ou refuser les cookies au cas par cas ou bien les refuser une fois pour toutes. Il est rappelé que ce paramétrage est susceptible de modifier vos conditions d’accès aux services du site nécessitant l’utilisation de cookies.
-
Le paramétrage des cookies est différent pour chaque navigateur et en général décrit dans les menus d’aide.
-
-
Droit applicable
-
Quel que soit le lieu d’utilisation, le présent site est régi par le droit français. En cas de contestation éventuelle, et après l’échec de toute tentative de recherche d’une solution amiable, les tribunaux français seront seuls compétents pour connaître de ce litige.
-
Pour toute question relative aux présentes conditions d’utilisation du site, vous pouvez nous contacter par courriel: info-opidor@inist.fr.
-
Modifications des conditions générales d’utilisation
-
Le CNRS se réserve la possibilité de modifier à tout moment les présentes conditions d’utilisation afin de les adapter aux évolutions du site et/ou de son exploitation.
-
Ces modifications feront l’objet d’une information des utilisateurs sur la page d’accueil. En cas de désaccord avec les nouvelles conditions générales d’utilisation, les utilisateurs auront la possibilité de clore leur compte.
-
-
"
diff --git a/config/routes.rb b/config/routes.rb
index 7db8292..9317f6d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -48,12 +48,6 @@
patch 'locale/:locale' => 'session_locales#update', as: 'locale'
root :to => 'home#index'
- get "about_us" => 'static_pages#about_us'
- get "help" => 'static_pages#help'
- get "roadmap" => 'static_pages#roadmap'
- get "terms" => 'static_pages#termsuse'
- get "privacy" => 'static_pages#privacy'
- get "tutorials" => 'static_pages#tutorials'
get "public_plans" => 'public_pages#plan_index'
get "public_templates" => 'public_pages#template_index'
get "template_export/:id" => 'public_pages#template_export', as: 'template_export'
@@ -202,6 +196,10 @@
resources :guidance_groups, only: [] do
get 'index/:page', action: :index, on: :collection, as: :index
end
+ # Paginable actions for static pages
+ resources :static_pages, only: [] do
+ get 'index/:page', action: :index, on: :collection, as: :index
+ end
end
resources :template_options, only: [:index], constraints: { format: /json/ }
@@ -261,5 +259,22 @@
resources :themes, only: [:index, :new, :create, :edit, :update, :destroy]
resources :users, only: [:edit, :update]
resources :notifications, except: [:show]
+ resources :static_pages
end
+
+ # Static pages
+ namespace :static do
+ get ':name', to: 'static_pages#show'
+ end
+
+ # Old static page aliases
+ get 'about_us', to: 'static/static_pages#show', name: 'about_us'
+ get 'help', to: 'static/static_pages#show', name: 'help'
+ get 'roadmap', to: 'static/static_pages#show', name: 'roadmap'
+ get 'terms', to: 'static/static_pages#show', name: 'termsuse'
+ get 'privacy', to: 'static/static_pages#show', name: 'privacy'
+
+ get "tutorials", to: 'static_pages#tutorials'
+ get "news_feed", to: 'static_pages#news_feed'
+
end
diff --git a/db/migrate/20190411123159_create_static_pages.rb b/db/migrate/20190411123159_create_static_pages.rb
new file mode 100644
index 0000000..0ce3816
--- /dev/null
+++ b/db/migrate/20190411123159_create_static_pages.rb
@@ -0,0 +1,11 @@
+class CreateStaticPages < ActiveRecord::Migration
+ def change
+ create_table :static_pages do |t|
+ t.string :name, null: false
+ t.string :url, null: false
+ t.boolean :in_navigation, default: true
+
+ t.timestamps null: false
+ end
+ end
+end
\ No newline at end of file
diff --git a/db/migrate/20190411123210_create_static_page_contents.rb b/db/migrate/20190411123210_create_static_page_contents.rb
new file mode 100644
index 0000000..887044c
--- /dev/null
+++ b/db/migrate/20190411123210_create_static_page_contents.rb
@@ -0,0 +1,12 @@
+class CreateStaticPageContents < ActiveRecord::Migration
+ def change
+ create_table :static_page_contents do |t|
+ t.string :title
+ t.text :content
+ t.belongs_to :static_page, index: true, foreign_key: true, null: false
+ t.belongs_to :language, index: true, foreign_key: true, null: false
+
+ t.timestamps null: false
+ end
+ end
+end
\ No newline at end of file
diff --git a/db/schema.rb b/db/schema.rb
index 4e53d10..f00d715 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: 20190109143548) do
+ActiveRecord::Schema.define(version: 20190411123210) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -343,6 +343,26 @@
add_index "settings", ["target_type", "target_id", "var"], name: "settings_target_type_target_id_var_key", unique: true, using: :btree
+ create_table "static_page_contents", force: :cascade do |t|
+ t.string "title"
+ t.text "content"
+ t.integer "static_page_id", null: false
+ t.integer "language_id", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_index "static_page_contents", ["language_id"], name: "index_static_page_contents_on_language_id", using: :btree
+ add_index "static_page_contents", ["static_page_id"], name: "index_static_page_contents_on_static_page_id", using: :btree
+
+ create_table "static_pages", force: :cascade do |t|
+ t.string "name", null: false
+ t.string "url", null: false
+ t.boolean "in_navigation", default: true
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
create_table "stats", force: :cascade do |t|
t.integer "count", limit: 8, default: 0
t.date "date", null: false
@@ -486,6 +506,8 @@
add_foreign_key "roles", "plans"
add_foreign_key "roles", "users"
add_foreign_key "sections", "phases"
+ add_foreign_key "static_page_contents", "languages"
+ add_foreign_key "static_page_contents", "static_pages"
add_foreign_key "templates", "orgs"
add_foreign_key "themes_in_guidance", "guidances"
add_foreign_key "themes_in_guidance", "themes"
diff --git a/lib/dmpopidor/controllers/application.rb b/lib/dmpopidor/controllers/application.rb
new file mode 100644
index 0000000..129581f
--- /dev/null
+++ b/lib/dmpopidor/controllers/application.rb
@@ -0,0 +1,10 @@
+module Dmpopidor
+ module Controllers
+ module Application
+ # Set Static Pages collection to use in navigation
+ def set_nav_static_pages
+ @nav_static_pages = StaticPage.navigable
+ end
+ end
+ end
+ end
\ No newline at end of file
diff --git a/lib/dmpopidor/controllers/static_pages.rb b/lib/dmpopidor/controllers/static_pages.rb
index b981c82..a4789c4 100644
--- a/lib/dmpopidor/controllers/static_pages.rb
+++ b/lib/dmpopidor/controllers/static_pages.rb
@@ -2,7 +2,7 @@
module Controllers
module StaticPages
# Changed News feed
- def about_us
+ def news_feed
dcc_news_feed_url = "https://opidor.fr/category/dmp-news/feed/"
@dcc_news_feed = Feedjira::Feed.fetch_and_parse dcc_news_feed_url
respond_to do |format|