|
|
|
@@ -34,6 +34,7 @@
|
|
|
|
|
'inc.sev.critical': 'Critical', 'inc.sev.high': 'High', 'inc.sev.medium': 'Medium', 'inc.sev.low': 'Low', 'inc.sev.info': 'Info',
|
|
|
|
|
'inc.sort': 'Sort by',
|
|
|
|
|
'inc.sort.updated': 'Recently updated', 'inc.sort.severity': 'Severity', 'inc.sort.last_seen': 'Last seen',
|
|
|
|
|
'inc.h.created': '{who} opened the ticket (severity: {sev})', 'inc.h.flood': 'flood grouping',
|
|
|
|
|
'inc.status.open': 'Open', 'inc.status.investigating': 'Investigating', 'inc.status.true_positive': 'True positive',
|
|
|
|
|
'inc.status.false_positive': 'False positive', 'inc.status.benign': 'Benign', 'inc.status.resolved': 'Resolved',
|
|
|
|
|
'inc.tab.active': 'Active', 'inc.tab.all': 'All',
|
|
|
|
@@ -100,6 +101,7 @@
|
|
|
|
|
'inc.sev.critical': 'Crítica', 'inc.sev.high': 'Alta', 'inc.sev.medium': 'Média', 'inc.sev.low': 'Baixa', 'inc.sev.info': 'Informativa',
|
|
|
|
|
'inc.sort': 'Ordenar por',
|
|
|
|
|
'inc.sort.updated': 'Atualizados recentemente', 'inc.sort.severity': 'Severidade', 'inc.sort.last_seen': 'Última ocorrência',
|
|
|
|
|
'inc.h.created': '{who} abriu o chamado (severidade: {sev})', 'inc.h.flood': 'agrupamento de flood',
|
|
|
|
|
'inc.status.open': 'Aberto', 'inc.status.investigating': 'Em investigação', 'inc.status.true_positive': 'Verdadeiro positivo',
|
|
|
|
|
'inc.status.false_positive': 'Falso positivo', 'inc.status.benign': 'Benigno', 'inc.status.resolved': 'Resolvido',
|
|
|
|
|
'inc.tab.active': 'Ativos', 'inc.tab.all': 'Todos',
|
|
|
|
@@ -216,7 +218,7 @@
|
|
|
|
|
var counts = null;
|
|
|
|
|
|
|
|
|
|
function cur() {
|
|
|
|
|
var s = U.param('s') || 'active';
|
|
|
|
|
var s = U.param('s') || U.param('status') || 'active';
|
|
|
|
|
return { s: s === 'active' || s === 'all' || STATUSES.indexOf(s) >= 0 ? s : 'active', sev: pick(SEVS, U.param('sev'), ''), q: (U.param('q') || '').slice(0, 200), sort: pick(SORTS, U.param('sort'), 'updated'), p: U.pageParam() };
|
|
|
|
|
}
|
|
|
|
|
function query(f) {
|
|
|
|
@@ -432,6 +434,12 @@
|
|
|
|
|
hist.forEach(function (h) {
|
|
|
|
|
var f = String(h.field || '');
|
|
|
|
|
var fl = tr('inc.h.field.' + f, f);
|
|
|
|
|
if (f === 'created') {
|
|
|
|
|
ol.appendChild(el('li', null,
|
|
|
|
|
el('span', { class: 'inc-tl-when' }, U.fmt.date(h.at)),
|
|
|
|
|
el('span', { class: 'inc-tl-what' }, t('inc.h.created', { who: String(h.author || '-'), sev: f === 'created' && h.to === 'flood' ? t('inc.h.flood') : histValue('severity', h.to) }))));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
ol.appendChild(el('li', null,
|
|
|
|
|
el('span', { class: 'inc-tl-when' }, U.fmt.date(h.at)),
|
|
|
|
|
el('span', { class: 'inc-tl-what' }, t('inc.h.line', { who: String(h.author || '-'), field: fl })),
|
|
|
|
|