Merge pull request #6017 from MrPetovan/task/move-pager-out-of-app
Road to Router Part 5: Move pager out of App
This commit is contained in:
commit
dbfe5c9d2a
31 changed files with 576 additions and 426 deletions
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
{{* Strings which are needed for some js functions (e.g. translation or the interval for page update)
|
||||
They are loaded into the html <head> so that js functions can use them *}}
|
||||
<script type="text/javascript">
|
||||
|
@ -9,13 +8,4 @@ They are loaded into the html <head> so that js functions can use them *}}
|
|||
var aStr = {
|
||||
'delitem' : "{{$delitem}}",
|
||||
};
|
||||
|
||||
{{* Create an object with the data which is needed for infinite scroll.
|
||||
For the relevant js part look at function loadContent() in main.js. *}}
|
||||
{{if $infinite_scroll}}
|
||||
var infinite_scroll = {
|
||||
'pageno' : {{$infinite_scroll.pageno}},
|
||||
'reload_uri' : "{{$infinite_scroll.reload_uri}}"
|
||||
}
|
||||
{{/if}}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue