summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-01-21 17:11:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 13:29:20 +0000
commit481dc1154709d9d1061de259d7133335c7497051 (patch)
treef18ef043a70a0d31c5e1589b5b44a57a688a0683 /bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html
parenta757d397dbc39ca479321263bafcc129451f21f1 (diff)
downloadpoky-481dc1154709d9d1061de259d7133335c7497051.tar.gz
bitbake: toaster: make locale packages uneditable in custom image page
When the packages associated with a custom image recipe are shown in the customrecipe editing page, locale packages are shown in the same way as all other packages. This gives the false impression that these packages can be removed, when in fact they are automatically added due to the IMAGE_LINGUAS build variable. Modify the customrecipe page so that locale packages cannot be removed, and provide some help text explaining why. [YOCTO #8927] (Bitbake rev: b2208e53c00a67a7d0345e7378e6806b8ae40fb4) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html
index 493456f855..0d4429962e 100644
--- a/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html
+++ b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html
@@ -7,7 +7,7 @@
7 "> 7 ">
8 <i class="icon-trash no-tooltip"></i> 8 <i class="icon-trash no-tooltip"></i>
9 Remove package 9 Remove package
10 </a> 10 </button>
11 <button class="btn btn-block add-rm-package-btn" data-directive="add" data-package="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style=" 11 <button class="btn btn-block add-rm-package-btn" data-directive="add" data-package="{{data.pk}}" data-package-url="{% url 'xhr_customrecipe_packages' extra.recipe_id data.pk %}" data-name="{{data.name}}" style="
12 {% if data.pk in extra.current_packages %} 12 {% if data.pk in extra.current_packages %}
13 display:none 13 display:none