summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/filtersnippet.html
diff options
context:
space:
mode:
authorDavid Reyna <David.Reyna@windriver.com>2014-03-14 00:26:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 11:17:32 +0000
commit4f02193f050666ff70821a6d8ef2ac2a744ef3fd (patch)
tree5c21c7fb000e0a48922ceccce31328b9c8bcf596 /bitbake/lib/toaster/toastergui/templates/filtersnippet.html
parent604d2c8df30b0139704991703b99ae9039c0f342 (diff)
downloadpoky-4f02193f050666ff70821a6d8ef2ac2a744ef3fd.tar.gz
bitbake: toaster: warn new filter replaces existing filter
If the user pop-ups a filter dialog when another filter is already active, warn the user that the new filter would replace the previous filter. [YOCTO #5960] (Bitbake rev: 6be58123fcdb0ff20de2a88315e1e3012effd1d3) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/filtersnippet.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/filtersnippet.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/filtersnippet.html b/bitbake/lib/toaster/toastergui/templates/filtersnippet.html
index e0e1181878..a72eeaa125 100644
--- a/bitbake/lib/toaster/toastergui/templates/filtersnippet.html
+++ b/bitbake/lib/toaster/toastergui/templates/filtersnippet.html
@@ -28,6 +28,11 @@
28 </div> 28 </div>
29 <div class="modal-footer"> 29 <div class="modal-footer">
30 <button type="submit" class="btn btn-primary">Apply</button> 30 <button type="submit" class="btn btn-primary">Apply</button>
31 {% if request.GET.filter %}
32 {% if request.GET.filter|string_remove_regex:':.*' != f.options.0.1|string_remove_regex:':.*' %}
33 <span class="help-inline pull-left">You can only apply one filter to the table. This filter will override the current filter.</span>
34 {% endif %}
35 {% endif %}
31 </div> 36 </div>
32</form> 37</form>
33 38