Skip to content

Commit

Permalink
Merge pull request #152 from syslabcom/scrum-1199-review-journal-tweaks
Browse files Browse the repository at this point in the history
Declare fields in IReviewJournal not required
  • Loading branch information
thet authored Feb 12, 2024
2 parents 7fc9486 + 06ad56b commit b18a086
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/recensio/plone/content/review_journal.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class IReviewJournal(model.Schema, IReview):
directives.order_after(editor="IJournalReview.doi_journal")
editor = schema.TextLine(
title=_("Editor (name or institution)"),
required=False,
)

directives.order_after(translatedTitleJournal="ITextReview.title")
Expand All @@ -25,6 +26,7 @@ class IReviewJournal(model.Schema, IReview):
"label_translated_title_journal",
default="Translated title (Journal)",
),
required=False,
)

fieldset_reviewed_text(["editor", "translatedTitleJournal"])
Expand Down

0 comments on commit b18a086

Please sign in to comment.