Skip to content

Commit

Permalink
Merge pull request #89 from rdmorganiser/split_views
Browse files Browse the repository at this point in the history
Fix costs view and split views in seperate files
  • Loading branch information
jochenklar authored Oct 1, 2021
2 parents e9fdbe5 + 58f53ac commit 04d7d1e
Show file tree
Hide file tree
Showing 8 changed files with 2,314 additions and 2,301 deletions.
446 changes: 446 additions & 0 deletions rdmorganiser/views/bielefeld.xml

Large diffs are not rendered by default.

171 changes: 171 additions & 0 deletions rdmorganiser/views/citec.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdmo created="2021-09-28T14:10:37.784186+02:00" xmlns:dc="http://purl.org/dc/elements/1.1/">
<view dc:uri="https://rdmorganiser.github.io/terms/views/citec">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
<key>citec</key>
<dc:comment/>
<title lang="en">CITEC DMP</title>
<help lang="en">DMP template from the University of Bielefeld for CITEC funded research projects.</help>
<title lang="de">CITEC DMP</title>
<help lang="de">DMP Vorlage der Universität Bielefeld für CITEC geförderte Projekte.</help>
<catalogs/>
<template>{% load view_tags %}

{% get_set 'project/partner' as partners %}
{% get_set 'project/dataset' as datasets %}

&lt;h1&gt;CITEC Data management plan&lt;/h1&gt;

&lt;p&gt;Name of the project:&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Project start:&lt;/b&gt; {% render_value 'project/schedule/project_start' %}
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Project end:&lt;/b&gt; {% render_value 'project/schedule/project_end' %}
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Project coordinator:&lt;/b&gt; {% render_value_inline_list 'project/coordination/name' %}
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Project members:&lt;/b&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Data manager:&lt;/b&gt;
&lt;/p&gt;
{% for dataset in datasets %}
&lt;p&gt;
&lt;i&gt;Dataset {% render_set_value dataset 'project/dataset/id' %}&lt;/i&gt;
&lt;/p&gt;
&lt;p&gt;
Responsible person for the backups:
{% render_set_value dataset 'project/dataset/storage/responsible_person/name' %}
&lt;/p&gt;
&lt;p&gt;
Responsible person for documenting the metadata and context information:
{% render_set_value dataset 'project/dataset/metadata/responsible_person/name' %}
&lt;/p&gt;
&lt;p&gt;
Responsible person for the maintenance of the PIDs and the object maintenance:
{% render_set_value dataset 'project/dataset/pids/responsible_person/name' %}
&lt;/p&gt;
{% endfor %}

&lt;p&gt;
&lt;i&gt;All datasets&lt;/i&gt;
&lt;/p&gt;
&lt;p&gt;
Responsible person for chosing which data to be archived:
{% render_value_inline_list 'project/preservation/responsible_person/name' %}
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;What are the goals / research questions of the project?&lt;/b&gt;
&lt;/p&gt;
&lt;p&gt;
{% render_value 'project/research_question/title' %}
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;What data will be acquired?&lt;/b&gt;
&lt;/p&gt;
{% for dataset in datasets %}
&lt;p&gt;
&lt;i&gt;Dataset {% render_set_value dataset 'project/dataset/id' %}:&lt;/i&gt;
{% render_set_value dataset 'project/dataset/description' %}
&lt;/p&gt;
{% endfor %}

&lt;p&gt;
&lt;b&gt;How will the data be acquired??&lt;/b&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Which formats will be used for the data?&lt;/b&gt;
&lt;/p&gt;

{% for dataset in datasets %}
&lt;p&gt;
&lt;i&gt;Dataset {% render_set_value dataset 'project/dataset/id' %}:&lt;/i&gt;
{% render_set_value dataset 'project/dataset/format' %}
&lt;/p&gt;
{% endfor %}

&lt;p&gt;
&lt;b&gt;What amount of data is expected?&lt;/b&gt;
&lt;/p&gt;

{% for dataset in datasets %}
&lt;p&gt;
&lt;i&gt;Dataset {% render_set_value dataset 'project/dataset/id' %}:&lt;/i&gt;
{% render_set_value dataset 'project/dataset/size/volume' %}
&lt;/p&gt;
{% endfor %}

&lt;p&gt;
&lt;b&gt;How will the data be stored during the project?&lt;/b&gt;
&lt;/p&gt;

{% for dataset in datasets %}
&lt;p&gt;
&lt;i&gt;Dataset Dataset {% render_set_value dataset 'project/dataset/id' %}&lt;/i&gt;
{% render_set_value dataset 'project/dataset/storage/type' %}
&lt;/p&gt;
{% endfor %}

&lt;p&gt;
&lt;b&gt;Does the project create non digital material that needs to be archived?&lt;/b&gt;
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;How will the data be archived after the end of the project?&lt;/b&gt;
&lt;/p&gt;

{% for dataset in datasets %}
&lt;p&gt;
&lt;i&gt;Dataset {% render_set_value dataset 'project/dataset/id' %}:&lt;/i&gt;
{% render_set_value dataset 'project/dataset/preservation/repository' %}
for the duration of {% render_set_value dataset 'project/dataset/preservation/duration' %}
&lt;/p&gt;
{% endfor %}

&lt;p&gt;
&lt;b&gt;Does the project involve co-operations outside of Bielefeld University?&lt;/b&gt;
&lt;/p&gt;
&lt;ul&gt;
{% for partner in partners %}
&lt;li&gt;
{% render_set_value partner 'project/partner/name' %}
&lt;/li&gt;
{% endfor %}
&lt;/ul&gt;

&lt;p&gt;
&lt;b&gt;Are there requirements by others concerning data publication?&lt;/b&gt;
&lt;/p&gt;
&lt;ul&gt;
{% for partner in partners %}
&lt;li&gt;
{% render_set_value partner 'project/partner/name' %}:
{% render_set_value partner 'project/partner/rdm_policy' %}
&lt;/li&gt;
{% endfor %}
&lt;/ul&gt;

&lt;p&gt;
&lt;b&gt;Will the data be published?&lt;/b&gt;
&lt;/p&gt;

{% for dataset in datasets %}
&lt;p&gt;
&lt;i&gt;Dataset {% render_set_value dataset 'project/dataset/id' %}:&lt;/i&gt;
{% get_set_value dataset 'project/dataset/sharing/yesno' as val %}
{% if val.is_true %}
{% render_set_value dataset 'project/dataset/sharing/conditions' %}
License: {% render_set_value dataset 'project/dataset/sharing/sharing_license' %}
{% endif %}
&lt;/p&gt;
{% endfor %}</template>
</view>
</rdmo>
187 changes: 187 additions & 0 deletions rdmorganiser/views/costs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdmo created="2021-09-28T14:12:36.665444+02:00" xmlns:dc="http://purl.org/dc/elements/1.1/">
<view dc:uri="https://rdmorganiser.github.io/terms/views/costs">
<uri_prefix>https://rdmorganiser.github.io/terms</uri_prefix>
<key>costs</key>
<dc:comment/>
<title lang="en">Cost overview</title>
<help lang="en">Overview of the personnel and non_personnel costs</help>
<title lang="de">Kostenübersicht</title>
<help lang="de">Übersicht der Personal- und Sachkosten</help>
<catalogs/>
<template>{% load view_tags %}
{% load mathfilters %}

{% get_set 'project/dataset' as datasets %}
{% get_number 'project/costs/creation/personnel' as creationp %}
{% get_number 'project/costs/creation/non_personnel' as creationnp %}
{% get_number 'project/costs/usage/personnel' as usagep %}
{% get_number 'project/costs/usage/non_personnel' as usagenp %}
{% get_number 'project/costs/storage/personnel' as storagep %}
{% get_number 'project/costs/storage/non_personnel' as storagenp %}
{% get_number 'project/costs/metadata/personnel' as metadatap %}
{% get_number 'project/costs/metadata/non_personnel' as metadatanp %}
{% get_number 'project/costs/pid/personnel' as pidp %}
{% get_number 'project/costs/pid/non_personnel' as pidnp %}
{% get_number 'project/costs/sensitive_data/anonymization/personnel' as anonymizationp %}
{% get_number 'project/costs/sensitive_data/anonymization/non_personnel' as anonymizationnp %}
{% get_number 'project/costs/sensitive_data/security/personnel' as securityp %}
{% get_number 'project/costs/sensitive_data/security/non_personnel' as securitynp %}
{% get_number 'project/costs/ipr/personnel' as iprp %}
{% get_number 'project/costs/ipr/non_personnel' as iprnp %}
{% get_number 'project/costs/preservation/personnel' as preservationp %}
{% get_number 'project/costs/preservation/non_personnel' as preservationnp %}

&lt;h1&gt;
Kostenübersicht&lt;/h1&gt;

&lt;h2&gt;1. Datengröße
&lt;/h2&gt;

&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;
&lt;b&gt;Datensatz&lt;/b&gt;
&lt;/th&gt;
&lt;th&gt;
&lt;b&gt;Datengröße&lt;/b&gt;
&lt;/th&gt;
&lt;th&gt;
&lt;b&gt;Zuwachsrate / Jahr&lt;/b&gt;
&lt;/th&gt;
&lt;/tr&gt;
{% for dataset in datasets %}
&lt;tr&gt;
&lt;td&gt;{% render_set_value dataset 'project/dataset/id' %}&lt;/td&gt;
&lt;td&gt;{% render_set_value dataset 'project/dataset/size/volume' %}&lt;/td&gt;
&lt;td&gt;{% render_set_value dataset 'project/dataset/rate' %}&lt;/td&gt;
&lt;/tr&gt;
{% endfor %}
&lt;/table&gt;

&lt;p&gt;
&lt;b&gt;
Laufzeit des Projekts
&lt;/b&gt;:
{% render_value 'project/schedule/project_start' %}
bis
{% render_value 'project/schedule/project_end' %}
&lt;/p&gt;

&lt;p&gt;
In welchem Umfang werden
&lt;b&gt;Infrastrukturressourcen&lt;/b&gt;
benötigt?:
{% render_value 'project/dataset/usage_infrastructure' %}
&lt;/p&gt;
&lt;h2&gt;
2. Personal- und Sachkosten
&lt;/h2&gt;

&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;
&lt;b&gt;Kategorie&lt;/b&gt;
&lt;/th&gt;
&lt;th&gt;
&lt;b&gt;Personalkosten&lt;/b&gt;
&lt;/th&gt;
&lt;th&gt;
&lt;b&gt;Sachkosten&lt;/b&gt;
&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Datenerhebung
&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/creation/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/creation/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Datennutzung
&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/usage/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/usage/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Datenspeicherung
&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/storage/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/storage/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Metadaten&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/metadata/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/metadata/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Persistente Identifikatoren&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/pid/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/pid/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Anonymisierung sensibler Daten&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/sensitive_data/anonymization/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/sensitive_data/anonymization/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Sicherheitsmaßnahmen für sensible Daten&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/sensitive_data/security/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/sensitive_data/security/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Urheber- und Schutzrechte&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/ipr/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/ipr/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
Langzeitarchivierung&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/preservation/personnel' %}&lt;/td&gt;
&lt;td&gt;
{% render_value 'project/costs/preservation/non_personnel' %}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;b&gt;Summe&lt;/b&gt;
&lt;/td&gt;
&lt;td&gt;
{{ creationp | addition:usagep | addition:storagep | addition:metadatap | addition:pidp | addition:anonymizationp | addition:securityp | addition:iprp | addition:preservationp }}
PM
&lt;/td&gt;
&lt;td&gt;
{{ creationnp | addition:usagenp | addition:storagenp | addition:metadatanp | addition:pidnp | addition:anonymizationnp | addition:securitynp | addition:iprnp | addition:preservationnp }}
Euro&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;
Wie werden die Kosten für das Datenmanagement im Projekt aufgebracht?
{% render_value 'project/costs/preservation/cover_how' %}
&lt;/p&gt;</template>
</view>
</rdmo>
Loading

0 comments on commit 04d7d1e

Please sign in to comment.