{% extends "scanpipe/base.html" %} {% load humanize %} {% block title %}ScanCode.io: {{ project.name }} - Relations{% endblock %} {% block content %}
{% include 'scanpipe/includes/navbar_header.html' %}
{% include 'scanpipe/includes/breadcrumb.html' with linked_project=True current="Relations" %} {% include 'scanpipe/includes/search_field.html' with extra_class="is-small" placeholder="Search to/ resources" %}
{% include 'scanpipe/includes/pagination_header_relations.html' %} {% include 'scanpipe/includes/filters_breadcrumb.html' with filterset=filter only %}
{% include 'scanpipe/includes/list_view_thead.html' %} {% for relation in object_list %} {% empty %} {% endfor %}
{# CAUTION: Avoid relying on get_absolute_url to prevent unnecessary query triggers #} {{ relation.to_resource.path }} {{ relation.to_resource.status }} {{ relation.map_type }} {% if relation.extra_data.path_score %} {{ relation.extra_data.path_score }} {% endif %} {% if relation.map_type == "path" and relation.to_resource.is_text and relation.from_resource.is_text %}
diff {% if relation.extra_data.diff_ratio %} ratio: {{ relation.extra_data.diff_ratio }} {% endif %}
{% endif %}
{{ relation.from_resource.path }}
No Relations found. Clear search and filters
{% if is_paginated %} {% include 'scanpipe/includes/pagination.html' with page_obj=page_obj %} {% endif %}
{% endblock %}