mirror of
https://git.yoctoproject.org/poky
synced 2026-03-14 03:09:41 +01:00
I have received quite a few complaints about the use of the word 'delete' for layer removal, so change it to 'remove'. That also matches the language we use for packages in image customisation. [YOCTO #9165] (Bitbake rev: 3c5ac2ddfb3f5ecd3f3218de0d6564e5f3842b98) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
729 B
HTML
18 lines
729 B
HTML
<button class="btn btn-danger btn-block layer-exists-{{data.pk}} layerbtn" data-layer='{ "id": {{data.pk}}, "name": "{{data.layer.name}}", "layerdetailurl": "{%url 'layerdetails' extra.pid data.pk%}"}' data-directive="remove"
|
|
{% if data.pk not in extra.current_layers %}
|
|
style="display:none;"
|
|
{% endif %}
|
|
>
|
|
<i class="icon-trash"></i>
|
|
Remove layer
|
|
</button>
|
|
<button class="btn btn-block layer-add-{{data.pk}} layerbtn" data-layer='{ "id": {{data.pk}}, "name": "{{data.layer.name}}", "layerdetailurl": "{%url 'layerdetails' extra.pid data.pk%}"}' data-directive="add"
|
|
{% if data.pk in extra.current_layers %}
|
|
style="display:none;"
|
|
{% endif %}
|
|
>
|
|
<i class="icon-plus"></i>
|
|
Add layer
|
|
</button>
|
|
|