Mercurial > kallithea
comparison rhodecode/templates/index_base.html @ 3155:0cb48c083c6b beta
fixes issues with groups paginator
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 09 Jan 2013 22:43:57 +0100 |
parents | 0226b6d6b2b5 |
children | 2fb94c52e20e |
comparison
equal
deleted
inserted
replaced
3154:0226b6d6b2b5 | 3155:0cb48c083c6b |
---|---|
49 ## this is commented out since for multi nested repos can be HEAVY! | 49 ## this is commented out since for multi nested repos can be HEAVY! |
50 ## in number of executed queries during traversing uncomment at will | 50 ## in number of executed queries during traversing uncomment at will |
51 ##<td><b>${gr.repositories_recursive_count}</b></td> | 51 ##<td><b>${gr.repositories_recursive_count}</b></td> |
52 </tr> | 52 </tr> |
53 % endfor | 53 % endfor |
54 | |
55 </table> | 54 </table> |
56 </div> | 55 </div> |
56 <div id="group-user-paginator" style="padding: 0px 0px 0px 0px"></div> | |
57 <div style="height: 20px"></div> | 57 <div style="height: 20px"></div> |
58 % endif | 58 % endif |
59 <div id="welcome" style="display:none;text-align:center"> | 59 <div id="welcome" style="display:none;text-align:center"> |
60 <h1><a href="${h.url('home')}">${c.rhodecode_name} ${c.rhodecode_version}</a></h1> | 60 <h1><a href="${h.url('home')}">${c.rhodecode_name} ${c.rhodecode_version}</a></h1> |
61 </div> | 61 </div> |
146 }; | 146 }; |
147 | 147 |
148 var myDataTable = new YAHOO.widget.DataTable("groups_list_wrap", myColumnDefs, myDataSource,{ | 148 var myDataTable = new YAHOO.widget.DataTable("groups_list_wrap", myColumnDefs, myDataSource,{ |
149 sortedBy:{key:"name",dir:"asc"}, | 149 sortedBy:{key:"name",dir:"asc"}, |
150 paginator: new YAHOO.widget.Paginator({ | 150 paginator: new YAHOO.widget.Paginator({ |
151 rowsPerPage: 5, | 151 rowsPerPage: 50, |
152 alwaysVisible: false, | 152 alwaysVisible: false, |
153 template : "{PreviousPageLink} {FirstPageLink} {PageLinks} {LastPageLink} {NextPageLink}", | 153 template : "{PreviousPageLink} {FirstPageLink} {PageLinks} {LastPageLink} {NextPageLink}", |
154 pageLinks: 5, | 154 pageLinks: 5, |
155 containerClass: 'pagination-wh', | 155 containerClass: 'pagination-wh', |
156 currentPageClass: 'pager_curpage', | 156 currentPageClass: 'pager_curpage', |
157 pageLinkClass: 'pager_link', | 157 pageLinkClass: 'pager_link', |
158 nextPageLinkLabel: '>', | 158 nextPageLinkLabel: '>', |
159 previousPageLinkLabel: '<', | 159 previousPageLinkLabel: '<', |
160 firstPageLinkLabel: '<<', | 160 firstPageLinkLabel: '<<', |
161 lastPageLinkLabel: '>>', | 161 lastPageLinkLabel: '>>', |
162 containers:['user-paginator'] | 162 containers:['group-user-paginator'] |
163 }), | 163 }), |
164 MSG_SORTASC:"${_('Click to sort ascending')}", | 164 MSG_SORTASC:"${_('Click to sort ascending')}", |
165 MSG_SORTDESC:"${_('Click to sort descending')}" | 165 MSG_SORTDESC:"${_('Click to sort descending')}" |
166 }); | 166 }); |
167 | 167 |