mirror of https://github.com/apache/nifi.git
NIFI-582:
- Removed the term 'source' when describing an ID as it could be confusing when the component is a connection (which has properties for source/destination id).
This commit is contained in:
parent
84e56f2ef5
commit
f2894edadc
|
@ -132,7 +132,7 @@
|
|||
|
||||
#history-filter-dialog {
|
||||
display: none;
|
||||
width: 454px;
|
||||
width: 421px;
|
||||
height: 250px;
|
||||
z-index: 1301;
|
||||
}
|
||||
|
@ -160,7 +160,7 @@
|
|||
}
|
||||
|
||||
#history-filter-type {
|
||||
width: 127px;
|
||||
width: 96px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
float: left;
|
||||
|
|
|
@ -99,10 +99,10 @@ nf.BulletinBoard = (function () {
|
|||
text: 'by message',
|
||||
value: 'message'
|
||||
}, {
|
||||
text: 'by source name',
|
||||
text: 'by name',
|
||||
value: 'sourceName'
|
||||
}, {
|
||||
text: 'by source id',
|
||||
text: 'by id',
|
||||
value: 'sourceId'
|
||||
}, {
|
||||
text: 'by group id',
|
||||
|
|
|
@ -69,11 +69,13 @@ nf.HistoryTable = (function () {
|
|||
// filter type
|
||||
$('#history-filter-type').combo({
|
||||
options: [{
|
||||
text: 'by source id',
|
||||
value: 'by source id'
|
||||
text: 'by id',
|
||||
value: 'by id',
|
||||
description: 'Filters based on the id of the component that was modified'
|
||||
}, {
|
||||
text: 'by user',
|
||||
value: 'by user'
|
||||
value: 'by user',
|
||||
description: 'Filters based on the user that performed the action'
|
||||
}]
|
||||
});
|
||||
|
||||
|
@ -106,7 +108,7 @@ nf.HistoryTable = (function () {
|
|||
var filterText = $('#history-filter').val();
|
||||
if (filterText !== '') {
|
||||
var filterType = $('#history-filter-type').combo('getSelectedOption').text;
|
||||
if (filterType === 'by source id') {
|
||||
if (filterType === 'by id') {
|
||||
filter['sourceId'] = filterText;
|
||||
} else if (filterType === 'by user') {
|
||||
filter['userName'] = filterText;
|
||||
|
@ -228,6 +230,9 @@ nf.HistoryTable = (function () {
|
|||
|
||||
// clear the current filter
|
||||
$('#clear-history-filter').click(function () {
|
||||
// clear the filter dialog
|
||||
$('#history-filter').val('');
|
||||
|
||||
// hide the overview
|
||||
$('#history-filter-overview').hide();
|
||||
|
||||
|
|
Loading…
Reference in New Issue