Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Context Conditions for term_is_published and media_is_published. #1058

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

rosiel
Copy link
Member

@rosiel rosiel commented Oct 1, 2024

GitHub Issue: #1057

  • Other Relevant Links (Google Groups discussion, related pull requests,
    Release pull requests, etc.)

What does this Pull Request do?

Adds "Term is published" and "Media is published" conditions. It also removes them from the block placement interface because they can interfere.

What's new?

2 new conditions.

  • Does this change add any new dependencies? no
  • Does this change require any other modifications to be made to the repository
    (i.e. Regeneration activity, etc.)? no
  • Could this change impact execution of existing code? not at all.

How should this be tested?

  • make some published and unpublished terms or media.
  • Set up this context with, for example, a new custom block (create it under Manage > Content > Blocks)
  • see the block only on the terms/media that are published / unpublished (depending how you set it up)

Documentation Status

  • Does this change existing behaviour that's currently documented? no
  • Does this change require new pages or sections of documentation? no
  • Who does this need to be documented for? We don't document our list of conditions.
  • Associated documentation pull request(s): ___ or documentation issue ___

Additional Notes:

Any additional information that you think would be helpful when reviewing this
PR.

Interested parties

Tag (@ mention) interested parties or, if unsure, @Islandora/committers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant