{% extends "layerindex/comparisonrecipebase.html" %} {% load i18n %} {% comment %} layerindex-web - comparison recipe detail page template Copyright (C) 2013, 2018 Intel Corporation Licensed under the MIT license, see COPYING.MIT for details {% endcomment %} {% block breadcrumbs %} {% endblock %} {% block page_heading %} {% if branch.name == 'oe-classic' %}
NOTE: This recipe is for OE-Classic, the older monolithic version of OpenEmbedded which is no longer actively developed. See below for migration information. If no replacement is available in current OpenEmbedded layers, you may be able to migrate the recipe yourself.
{% endif %} {% endblock %} {% block to_recipe_extra %}{% if recipe.cover_verified %} verified{% endif %}{% if recipe.needs_attention %} needs attention{% endif %}{% endblock %} {% block selectbuttons %} {% if can_edit %} Select... {% endif %} {% endblock %} {% block origin_row %} {% if branch.name == 'oe-classic' %} Origin {% else %} Distro / Layer {% endif %} {{ branch.short_description }} {% if cover_recipe %}{{ cover_recipe.layerbranch.layer }} ({{ cover_recipe.layerbranch.branch.name }} branch){% endif %} {% endblock %} {% block table_extra %} {% if recipe.extra_urls %} Extra links {% endif %} {% endblock %} {% block patch_status_heading %} {% if rcp.layerbranch.branch.comparison %} {% if can_disposition_patches %} Disposition {% endif %} {% else %} Status {% endif %} {% endblock %} {% block patch_status %} {% if rcp.layerbranch.branch.comparison %} {% if can_disposition_patches %} {{ patch.patchdisposition.get_disposition_display }} ... {% endif %} {% else %} {{ patch.get_status_display }} {{ patch.status_extra | urlize }} {% endif %} {% endblock %} {% block content_extra %} {% if can_disposition_patches %} {% for form in patch_formset %} {% with patch_id=form.patch.initial %}
{% endwith %} {% endfor %} {% endif %} {% endblock %} {% block scripts_extra %} $('.patch_disposition_button').click(function (e) { patch_id = $(this).attr('patch-id'); patch_name = $(this).attr('patch-name'); $('#patchDialogLabel' + patch_id).html('Disposition patch ' + patch_name); }); $('.patchdialog-save').click(function (e) { patch_id = $(this).attr('patch-id'); $('#patch_form_' + patch_id).submit() $('#patchDialog' + patch_id).modal('hide') }); {% endblock %}