aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2015-08-13 14:25:36 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:52 +1200
commit66c0b28982c89bfa1610fbc1b8efe2195a62d7b8 (patch)
tree3220a7df33fd153ceb74e03cf0e43cfda4a60a97 /templates
parent671d06aaa7683bf444172f0e9ca3cb29c2924b5b (diff)
downloadopenembedded-core-contrib-66c0b28982c89bfa1610fbc1b8efe2195a62d7b8.tar.gz
rrs: avoid too many columns in the recipes table
Currently, when you select 'Can't be updated' in the upstream status filter, the resulting table will add the 'No update reason' column to the default column set. Although this is probably useful information to see in the table itself, it results in too many columns, and a rather unpleasant layout change. This patch hides the 'Summary' column whenever you select 'Can't be updated' in the upstream status filter, effectively replacing the 'Summary' with the 'No update reason' column, which is probably more relevant in this context. Now you have less columns distracting you, and a slightly less jumpy layout change. A designer would have come up with this solution in the first place. Sadly, she was never asked. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/rrs/recipes.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html
index 3ac73d2a95..8927b2fc08 100644
--- a/templates/rrs/recipes.html
+++ b/templates/rrs/recipes.html
@@ -218,8 +218,10 @@ $(document).ready(function() {
function applyFilters() {
if (upstreamStatus == 'Can\'t be updated') {
$('.no_update_reason_column').show()
+ $('.summary_column').hide()
} else {
$('.no_update_reason_column').hide()
+ $('.summary_column').show()
}
if (upstreamStatus == 'All') {