-
Notifications
You must be signed in to change notification settings - Fork 6
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
Migrate Templates #199
base: next-env
Are you sure you want to change the base?
Migrate Templates #199
Conversation
@@ -56,6 +57,6 @@ | |||
{% include 'nautobot_version_control/diffs.html' with results=results %} | |||
|
|||
{% if obj and settings.DOCS_ROOT %} | |||
{% include 'inc/modal.html' with name='docs' content=obj|get_docs %} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was bonking out on get_docs
, not sure what that does tbh
@@ -306,6 +306,8 @@ def get(self, request, *args, **kwargs): # pylint: disable=W0613,C0116 # noqa: | |||
{ | |||
"object": instance, | |||
"results": diff, | |||
# TODO: This should not be needed but did not render Tab in detail view without |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned.
@@ -4,6 +4,7 @@ | |||
{% load helpers %} | |||
{% load static %} | |||
{% load tz %} | |||
<!-- This view comes from clicking on the "Diff Type" icon, e.g. changed/added in a diff view --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could not update this to the standard templates, the view is rather different so I am not sure if this is expected or not.
@@ -42,6 +42,5 @@ | |||
</div> | |||
</form> | |||
{% if obj and settings.DOCS_ROOT %} | |||
{% include 'inc/modal.html' with name='docs' content=obj|get_docs %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was bonking out on get_docs
, not sure what that does tbh
No description provided.