mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
fix truncated message
This commit is contained in:
parent
5a9a9723de
commit
620903ff27
@ -501,12 +501,17 @@ IPA.records_facet = function (spec){
|
||||
generate_tr(thead, tbody, result[i]);
|
||||
}
|
||||
|
||||
tfoot.find('td').remove();
|
||||
if (data.result.truncated) {
|
||||
var message = IPA.messages.search.truncated;
|
||||
message = message.replace('${counter}', data.result.count);
|
||||
tfoot.text(message);
|
||||
tfoot.append($('<td />',{
|
||||
colspan:2,
|
||||
text:message}));
|
||||
} else {
|
||||
tfoot.text(data.result.summary);
|
||||
tfoot.append($('<td/>',{
|
||||
colspan:2,
|
||||
text:data.result.summary}));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user