Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

backoffice: add ticket to workflow admin view #105

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

miguelgrc
Copy link
Contributor

ref: cern-sis/issues-inspire#558

I wanted to show the ticket_url as well but it's not accessible from the admin as it's added in the serializer. If this is absolutely needed we could add it directly to the model.

I also changed workflow_id to workflow in the WorkflowTicket model for consistency with Decisions.

Screenshot 2024-08-29 at 14 54 33

Comment on lines +142 to +144
"""
Admin class for WorkflowTicket model. Define get, update and delete permissions.
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

do you have pre-commit installed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought I did but apparently I didn't, I have installed and run it now

@miguelgrc miguelgrc force-pushed the display-ticket-in-wf-admin branch from 9f6600e to 799fe70 Compare August 30, 2024 10:57
@drjova drjova merged commit 246e4da into inspirehep:main Aug 30, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants