1
0
Fork 0

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:
Michael Vogel 2018-10-25 21:21:23 +02:00 committed by GitHub
commit dbfe5c9d2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 576 additions and 426 deletions

View file

@ -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>