Skip to content

Conversation

@japauliina
Copy link

Add a new field active to following models:

  • Purpose
  • TermsOfUse
  • ResourceType
  • ReservationMetadataSet
  • Equipment

Admin users can change this value in Django admin. Hide inactive objects from the Respa admin.

Refs TTVA-218

Add a new field `active` to the `Purpose` model. Admin users can change
this field in Django admin. Hide inactive purposes from the resource
form in the Respa admin.

Refs TTVA-218
Add a new field `active` to the `TermsOfUse` model. Admin users can
change this field in Django admin. Hide inactive terms of use from the
resource form in the Respa admin.

Refs TTVA-218
Add a new field `active` to the `ResourceType` model. Admin users can change
this field in Django admin. Hide inactive resource types from the resource
form in the Respa admin.

Refs TTVA-218
Add a new field `active` to the `ReservationMetadataSet` model. Admin
users can change this field in Django admin. Hide inactive reservation
metadata sets from the resource form in the Respa admin.

Refs TTVA-218
Add a new field `active` to the `Equipment` model. Admin users can
change this field in Django admin. Hide inactive equipments from the
resource form in the Respa admin.

Refs TTVA-218
Copy link
Collaborator

@jopesy jopesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@japauliina japauliina merged commit 6652746 into tre-varaamo-qa Jan 14, 2025
1 check passed
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.

3 participants