forked from leftypol/leftypol
Add mod auto-reload
This commit is contained in:
parent
5bb8505dfd
commit
37bfc3beeb
2 changed files with 296 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
<script src="{{ config.additional_javascript_url }}js/mod/recent_posts.js"></script>
|
||||
<script src="{{ config.additional_javascript_url }}js/mod/recent-posts-auto-reload.js"></script>
|
||||
{% if not posts %}
|
||||
<p style="text-align:center" class="unimportant">({% trans 'There are no active posts.' %})</p>
|
||||
{% else %}
|
||||
|
@ -17,3 +18,9 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
<a href="/mod.php?/recent/{{ limit|e }}&last={{ last_time|e }}">Next {{ limit }} posts</a>
|
||||
<div class="bar bottom">
|
||||
<div class="bar-bottom">
|
||||
<span class="threadlink"></span>
|
||||
</div>
|
||||
<div class=pages></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue