layerindex-web/templates/layerindex/bulkchangereview.html
Paul Eggleton 82c632ca2d Upgrade to Django 1.6+
I'd like to be upgrading to 1.8 but that causes problems with South, and
we're not quite ready to dispense with our existing migrations yet.

Part of the implementation for [YOCTO #9620].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2016-06-12 11:33:08 +12:00

48 lines
1.2 KiB
HTML

{% extends "base.html" %}
{% load i18n %}
{% comment %}
layerindex-web - bulk change result page template
Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
<!--
{% block title_append %} - bulk change{% endblock %}
-->
{% block content %}
{% autoescape on %}
<h2>{{ changeset.name }}</h2>
{% regroup changeset.recipechange_set.all by recipe.layerbranch.layer as changeset_recipes %}
<ul>
{% for layer in changeset_recipes %}
<li>{{ layer.grouper }}
<ul>
{% for change in layer.list %}
<li>
{{ change.recipe.filename }}
<ul>
{% for field in change.changed_fields %}
<li>{{ field }}</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
<a href="{% url 'bulk_change_search' changeset.id %}" class="btn">Add recipes</a>
<a href="{% url 'bulk_change_edit' changeset.id %}" class="btn">Edit</a>
<a href="{% url 'bulk_change_patches' changeset.id %}" class="btn">Get patches</a>
<a href="{% url 'bulk_change_delete' changeset.id %}?cancel=bulk_change_review" class="btn">Delete</a>
{% endautoescape %}
{% endblock %}