diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-02-24 17:20:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-24 23:35:43 +0000 |
commit | 4742ae94a91028f7128b862fdb6ec80123749859 (patch) | |
tree | 36806ada60bf85c818cd92727937f57ea2cd234b /bitbake/lib/toaster/toastergui/templates | |
parent | 00e3545029a6e08900591e4c1001c17fbd0c4566 (diff) | |
download | ast2050-yocto-poky-4742ae94a91028f7128b862fdb6ec80123749859.zip ast2050-yocto-poky-4742ae94a91028f7128b862fdb6ec80123749859.tar.gz |
bitbake: toaster: layerdetails Fix pagination controls
Bring the pagination controls into line with others in toaster by
limiting the number of page buttons to 5
[YOCTO #7195]
(Bitbake rev: 0b35eed7ca758476f20d6875291ee31fad35b7d3)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index 49c62c6..1f48c65 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -287,7 +287,7 @@ {%else%} <li class="disabled"><a href="#">«</a></li> {%endif%} - {% for i in targets.paginator.page_range %} + {% for i in targets.page_range %} <li {%if i == targets.number %} class="active" {%endif%}><a href="?tpage={{i}}#targets">{{i}}</a></li> {% endfor %} {%if targets.has_next%} @@ -418,7 +418,7 @@ {%else%} <li class="disabled"><a href="#">«</a></li> {%endif%} - {% for i in machines.paginator.page_range %} + {% for i in machines.page_range %} <li {%if i == machines.number %} class="active" {%endif%}><a href="?mpage={{i}}#machines">{{i}}</a></li> {% endfor %} {%if machines.has_next%} |