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

Migrate Templates #199

Open
wants to merge 1 commit into
base: next-env
Choose a base branch
from
Open

Migrate Templates #199

wants to merge 1 commit into from

Conversation

itdependsnetworks
Copy link
Contributor

No description provided.

@@ -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 %}

Copy link
Contributor Author

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
Copy link
Contributor Author

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 -->
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 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 %}
Copy link
Contributor Author

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

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.

1 participant