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

Indicate if a CDSA is deprecated in user profile #751

Open
amstilp opened this issue Sep 18, 2024 · 0 comments
Open

Indicate if a CDSA is deprecated in user profile #751

amstilp opened this issue Sep 18, 2024 · 0 comments
Assignees

Comments

@amstilp
Copy link
Contributor

amstilp commented Sep 18, 2024

Update the user_detail template to show the status of each SignedAgreement (model: cdsa.models.SignedAgreement) object associated with the user. Add an indication showing the status (a badge that shows signed_agreement.status, in green if it is active and red if it is not active?).


This loop over CDSAs (signed_agreements) can be found here:

{% for agreement in signed_agreements %}

To see the signed_agreement (model: cdsa.models.SignedAgreement) status, check the signed_agreement.status field, eg:

signed_agreement.status == models.SignedAgreement.StatusChoices.ACTIVE
@amstilp amstilp assigned amstilp and wkirdp and unassigned amstilp Jan 10, 2025
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

No branches or pull requests

2 participants