Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/Projects/Project/Entity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ headerFields:
- currentStep: true

steps:
- Start
- Subject
- Upload
- Assessment
- Publication
15 changes: 15 additions & 0 deletions Examples/Projects/Project/Forms/RejectSubject.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: RejectSubject
title:
en: Reject subject
nl: Onderwerp afkeuren
pages:
Reject:
title:
en: Reject subject
nl: Onderwerp afkeuren
introduction:
nl: Je wilt het onderwerp van {{ Student.DisplayName }} afkeuren
en: You want to reject the subject of {{ Student.DisplayName }}
questions:
- SubjectRejectTarget
- SubjectRejectReason
21 changes: 18 additions & 3 deletions Examples/Projects/Project/Forms/Start.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
name: Start

pages:
Start:
Contents:
title:
en: Contents
nl: Inhoud
questions:
- Title
- EC
- Subject
- Description
Staff:
title:
en: Staff
nl: Medewerkers
questions:
- Examiner
- Reviewer
- Supervisor
- Supervisor
Planning:
questions:
- StartDate
- Deadline
- EndDate
- EC
27 changes: 25 additions & 2 deletions Examples/Projects/Project/Properties.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,40 @@
properties:
Title:
type: String!
text:
en: Working title
nl: Werktitel
EC:
type: Int!

StartDate:
type: Date!
text:
en: Start date
nl: Startdatum
EndDate:
type: Date!
text:
en: End date
nl: Einddatum

Examiner:
type: User!
text:
en: Examiner
nl: Examinator
Supervisor:
type: User!
text: Expected number of participants
description: Enter 0 if not applicable
text:
en: Supervisor
nl: Begeleider
Reviewer:
type: User!
text:
en: Reviewer
nl: Beoordelaar
Student:
type: "[User]!"

Report:
type: File!
28 changes: 27 additions & 1 deletion Examples/Projects/Project/Steps/Start.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,35 @@
name: Start
title:
nl: Indienen voorstel
en: Subject proposal

actions:
- roles: [Student]
type: Submit
form: Start

properties:
Subject:
type: String!
text:
en: Subject
nl: Onderwerp
layout:
multiline: true
Description:
type: File!
text:
en: Project description
nl: Projectomschrijving

Deadline:
type: Date!
text:
en: Important deadline
nl: Belangrijke deadline


ends:
event: Start
event:
id: Start
notBefore: RejectSubject
11 changes: 11 additions & 0 deletions Examples/Projects/Project/Steps/Subject.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Subject
title:
nl: Onderwerp
en: Subject

children:
- Start
- SubjectFeedback

ends:
event: ApproveSubject
49 changes: 49 additions & 0 deletions Examples/Projects/Project/Steps/SubjectFeedback.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: SubjectFeedback
title:
nl: Beoordelen voorstel
en: Assessment of proposal

actions:
- name: Approve
type: Execute
roles: [Coordinator]
label:
en: Approve
nl: Goedkeuren
triggers:
- event: ApproveSubject
- name: Reject
type: Submit
form: RejectSubject
roles: [Coordinator]
label:
en: Reject
nl: Afkeuren

properties:
SubjectRejectTarget:
type: "[RejectOption]!"
text:
nl: Wat keur je af?
en: Which part are you rejecting?
values:
Contents:
text:
en: Contents
nl: Inhoud
Staff:
text:
en: Staff
nl: Medewerkers
Planning:
text: Planning
SubjectRejectReason:
type: String!
text:
nl: Licht toe, wees daarbij zo specifiek mogelijk
en: Please explain, be as specific as possible
layout:
multiline: true

ends:
event: RejectSubject