mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00

This allows adding an important notice to a layer e.g. "this layer is deprecated, please use layer xyz instead". Only one layer note can be added through the interface although the data structures allow multiple, so notes may be added programmatically without disturbing user-added ones. With this change we also add a get_absolute_url() function to the LayerItem model and change the calls to reverse() for layers to use it. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
35 lines
723 B
HTML
35 lines
723 B
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
|
|
{% comment %}
|
|
|
|
layerindex-web - delete confirmation template
|
|
|
|
Copyright (C) 2013 Intel Corporation
|
|
Licensed under the MIT license, see COPYING.MIT for details
|
|
|
|
{% endcomment %}
|
|
|
|
<!--
|
|
{% autoescape on %}
|
|
{% block title %}OpenEmbedded metadata index - delete {{ object_type }}{% endblock %}
|
|
{% endautoescape %}
|
|
-->
|
|
|
|
{% block content %}
|
|
{% autoescape on %}
|
|
|
|
<h2>Delete {{ object_type }}</h2>
|
|
|
|
<p>Are you sure you want to delete "{{ object }}"?</p>
|
|
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
<input type="submit" value="Delete" class='btn btn-warning' />
|
|
<a href="{{ return_url }}" class='btn'>Cancel</a>
|
|
</form>
|
|
|
|
{% endautoescape %}
|
|
|
|
{% endblock %}
|