Gdpr-processing: Difference between revisions
From SemanticOrganization
m (Admin moved page Gdrp-processing to Gdpr-processing without leaving a redirect) |
m (Text replacement - "|field-" to "|") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Semorg-generator | ||
|template-id=GP | |template-id=GP | ||
|template-fields={{ | |form-page-name=Datenanwendung | ||
| | |form-unique-number=Yes | ||
| | |template-fields={{Semorg-generator-field | ||
| | |id=name | ||
}}{{ | |property-id=NA | ||
| | |type=txt | ||
| | }}{{Semorg-generator-field | ||
| | |id=purpose | ||
}}{{ | |property-id=PU | ||
| | |type=txt | ||
| | }}{{Semorg-generator-field | ||
| | |id=legal-basis | ||
}}{{ | |property-id=LB | ||
| | |type=txt | ||
| | }}{{Semorg-generator-field | ||
| | |id=application | ||
}}{{ | |property-id=AP | ||
| | |type=txt | ||
| | }}{{Semorg-generator-field | ||
| | |id=department | ||
}}{{ | |property-id=DP | ||
| | |type=wpg | ||
| | }}{{Semorg-generator-field | ||
| | |id=responsible | ||
}}{{ | |property-id=RE | ||
| | |type=wpg | ||
| | }}{{Semorg-generator-field | ||
| | |id=documents | ||
}}{{ | |property-id=DO | ||
| | |type=txt | ||
| | }}{{Semorg-generator-field | ||
| | |id=measures | ||
}}{{ | |property-id=ME | ||
| | |type=txt | ||
| | }}{{Semorg-generator-field | ||
| | |id=access | ||
|property-id=AC | |||
|type=txt | |||
}} | }} | ||
}} | }} |
Latest revision as of 14:24, 22 November 2018
Messages
"semorg-gdpr-processing-template": "semorg-gdpr-processing", "semorg-gdpr-processing-category": "semorg-gdpr-processing", "semorg-gdpr-processing-form": "semorg-gdpr-processing", "semorg-form-gdpr-processing-create-title": "Create Gdpr-processing", "semorg-form-gdpr-processing-edit-title": "Edit Gdpr-processing", "semorg-form-gdpr-processing-page-name": "Datenanwendung", "semorg-form-gdpr-processing-template": "gdpr-processing", "semorg-form-gdpr-processing-rows": "access, measures, name, responsible, application, documents, department, legal-basis, purpose", "semorg-list-gdpr-processing-headers": "gdpr-processing-access, gdpr-processing-measures, gdpr-processing-name, gdpr-processing-responsible, gdpr-processing-application, gdpr-processing-documents, gdpr-processing-department, gdpr-processing-legal-basis, gdpr-processing-purpose", "semorg-field-gdpr-processing-access-name": "", "semorg-field-gdpr-processing-access-parameters": "", "semorg-field-gdpr-processing-application-name": "", "semorg-field-gdpr-processing-application-parameters": "", "semorg-field-gdpr-processing-department-name": "", "semorg-field-gdpr-processing-department-parameters": "", "semorg-field-gdpr-processing-documents-name": "", "semorg-field-gdpr-processing-documents-parameters": "", "semorg-field-gdpr-processing-legal-basis-name": "", "semorg-field-gdpr-processing-legal-basis-parameters": "", "semorg-field-gdpr-processing-measures-name": "", "semorg-field-gdpr-processing-measures-parameters": "", "semorg-field-gdpr-processing-name-name": "", "semorg-field-gdpr-processing-name-parameters": "", "semorg-field-gdpr-processing-purpose-name": "", "semorg-field-gdpr-processing-purpose-parameters": "", "semorg-field-gdpr-processing-responsible-name": "", "semorg-field-gdpr-processing-responsible-parameters": "",
Form
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{{info |create title={{int:semorg-form-gdpr-processing-create-title}} |edit title={{int:semorg-form-gdpr-processing-edit-title}}<span class="d-none">: <page name></span> |page name={{int:semorg-form-gdpr-processing-page-name}}/<unique number;start=1> }}} {{semorg-form-template|gdpr-processing}} {{semorg-form-standard-inputs}} </includeonly>
as embedded:
Use this code, if this is not meant to be a standalone feature but rather a supplement that should be embedded in other forms. Add this line to a form definition that includes a field with the parameter holds template
. The second parameter of the semorg-form-template-embed
call should be the target field, specified with <feature>[<field>]
(e.g. meeting-group[files]
or {{int:semorg-meeting-group-template}}[files]
to respect template customization).
{{semorg-form-template-embed|gdpr-processing|}}
Category
Category:Semorg-gdpr-processing
{{semorg-category}}
Template
Template:Semorg-gdpr-processing
<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-gdpr-processing-category}}]]{{#semorg-set:gdpr-processing |access={{{access|}}} |measures={{{measures|}}} |name={{{name|}}} |responsible={{{responsible|}}} |application={{{application|}}} |documents={{{documents|}}} |department={{{department|}}} |legal-basis={{{legal-basis|}}} |purpose={{{purpose|}}} }}{{#semorg-detail:gdpr-processing}}{{#semorg-table:gdpr-processing |access={{{access|}}} |measures={{{measures|}}} |name={{{name|}}} |responsible={{{responsible|}}} |application={{{application|}}} |documents={{{documents|}}} |department={{{department|}}} |legal-basis={{{legal-basis|}}} |purpose={{{purpose|}}} }}</includeonly>
Row Template
Template:Semorg-gdpr-processing-row
<noinclude>{{semorg-bundle}}</noinclude><includeonly><tr> <td>[[{{{target|}}}]]</td> <td>{{{access|}}}</td> <td>{{{measures|}}}</td> <td>{{{name|}}}</td> <td>{{{responsible|}}}</td> <td>{{{application|}}}</td> <td>{{{documents|}}}</td> <td>{{{department|}}}</td> <td>{{{legal-basis|}}}</td> <td>{{{purpose|}}}</td> {{semorg-showedit |target={{{target|}}} }} </tr></includeonly>
Overview Page Template
Template:Semorg-gdpr-processing-overview
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-list:gdpr-processing |heading={{int:semorg-gdpr-processing-page-name}} |formlink={{#semorg-formlink:gdpr-processing}} |links={{{links|}}} |query={{{query|}}} |sort={{{sort|}}} |order={{{order|}}} |limit={{{limit|}}} |filter links={{{filter links|}}} |filters={{{filters|}}} |category={{{category|}}} |headers={{{headers|}}} |row template={{{row template|}}} |tableclass={{{tableclass|}}} |title={{{title|}}} |sums={{{sums|}}} |csv={{{csv|}}} |default={{{default|}}} |returnto={{{returnto|}}} |help={{{help|}}} }}</includeonly>
Overview Page
[[]]
{{semorg-gdpr-processing-overview}}
Property Registration
Add the following line to LocalSettings.php
:
$wgSemorgAdditionalProperties['gdpr-processing'] = [ "id" => "GP","fields" => ["access" => [ "id" => "AC","type" => "txt" ],"measures" => [ "id" => "ME","type" => "txt" ],"name" => [ "id" => "NA","type" => "txt" ],"responsible" => [ "id" => "RE","type" => "wpg" ],"application" => [ "id" => "AP","type" => "txt" ],"documents" => [ "id" => "DO","type" => "txt" ],"department" => [ "id" => "DP","type" => "wpg" ],"legal-basis" => [ "id" => "LB","type" => "txt" ],"purpose" => [ "id" => "PU","type" => "txt" ], ] ];