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 custom links and plugin template content to JobResult detail views #576

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

glennmatthews
Copy link
Contributor

Fixes: #N/A

  • Add support for Custom Links to be defined for the JobResult model and rendered in the JobResult detail view and the Job's JobResult detail view (yes, these are two separate views; the former is generic for all JobResults, while the latter adds more Job-specific context for results that were derived from a Job, such as embedding the associated Job's source code)
  • Also add plugin_buttons and plugin_full_width_page template tags to both of these views so that plugins can add either of these types of content to these views if desired. (I did not add plugin_left_page and plugin_right_page as these views are full-width views only and don't have left/right columns at this time.)

image

image

@glennmatthews glennmatthews added plugin API type: feature Introduction of new or enhanced functionality to the application labels Jun 15, 2021
Copy link
Member

@lampwins lampwins left a comment

Choose a reason for hiding this comment

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

:shipit:

@glennmatthews glennmatthews merged commit 89dee48 into develop Jun 18, 2021
@glennmatthews glennmatthews deleted the gfm-jobresult-plugintemplate branch June 18, 2021 13:54
glennmatthews added a commit that referenced this pull request Jun 18, 2021
glennmatthews added a commit to nautobot/nautobot-app-ssot that referenced this pull request Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature Introduction of new or enhanced functionality to the application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants