514
514
tags_container = tags_ai;
515
515
tags_ai.set("bodyContent", Y.Node.create('<div><div></div></div>')
516
.append(Y.Node.create('<input type="radio" name="tag_match" checked>')
517
.set('value', MATCH_ALL))
518
.append('Match all tags')
519
.append(Y.Node.create('<input type="radio" name="tag_match" checked>')
520
.set('value', MATCH_ANY))
521
.append('Match any tags')
523
'<div style="padding-bottom:10px;">' +
524
' <input type="text" name="tags" size="50"/>' +
526
' href="/+help/structural-subscription-tags.html" ' +
527
' class="sprite maybe"> '+
528
'<span class="invisible-link">Structural subscription tags '+
529
' help</span></a> ' +
516
.append(Y.Node.create('<label/>')
517
.append(Y.Node.create('<input/>')
518
.set('type', 'radio')
519
.set('name', 'tag_match')
520
.set('checked', 'checked')
521
.set('value', MATCH_ALL))
522
.append('Match all tags'))
523
.append(Y.Node.create('<label/>')
524
.append(Y.Node.create('<input/>')
525
.set('type', 'radio')
526
.set('name', 'tag_match')
527
.set('value', MATCH_ANY))
528
.append('Match any tags'))
529
.append(Y.Node.create('<div/>')
530
.append(Y.Node.create('<input/>')
534
.append(Y.Node.create('<a/>')
535
.set('target', 'help')
536
.set('href', '/+help/structural-subscription-tags.html')
539
.append(Y.Node.create('<span/>')
540
.addClass('invisible-link')
541
.set('text', 'Structural subscription tags help')))
542
.append(Y.Node.create('<div/>')
543
.setStyle('paddingBottom', '10px')
544
.set('text', 'Separate tags with a space'))));
531
545
accordion.addItem(tags_ai);
533
547
// Build importances pane.
1332
1346
// Format status conditions.
1333
1347
if (filter.statuses.length !== 0) {
1334
1348
filter_items.push(Y.Node.create('<li></li>')
1335
.set('text', 'have status '+filter.statuses.join(', ')));
1349
.set('text', 'have the status(es): '+filter.statuses.join(', ')));
1338
1352
// Format importance conditions.
1339
1353
if (filter.importances.length !== 0) {
1340
1354
filter_items.push(Y.Node.create('<li></li>')
1341
.set('text', 'are of importance '+filter.importances.join(', ')));
1356
'are of importance: '+filter.importances.join(', ')));
1344
1359
// Format tag conditions.