mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 06:48:50 +02:00
- Always display the number of elements (and the number of elements selected) when displaying a list.
- Nicer display of paginated lists SVN:trunk[1355]
This commit is contained in:
@@ -276,6 +276,8 @@ function sprintf(format, etc) {
|
||||
if (e > nb)
|
||||
{
|
||||
e = nb;
|
||||
s = e - 5;
|
||||
if (s < 0) s = 0;
|
||||
}
|
||||
txt = '';
|
||||
for(var i=s; i<e; i++)
|
||||
@@ -286,6 +288,10 @@ function sprintf(format, etc) {
|
||||
{
|
||||
link = ' <a href="#" class="no-arrow" page="'+i+'" id="gotopage_'+i+'">'+page+'</a> ';
|
||||
}
|
||||
else
|
||||
{
|
||||
link = ' <a href="#" class="no-arrow curr_page" page="'+i+'">'+page+'</a> ';
|
||||
}
|
||||
txt += link;
|
||||
}
|
||||
txt += '';
|
||||
|
||||
Reference in New Issue
Block a user