You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2018/01/12 22:20:18 UTC

allura git commit: [#8173] only show pagination (which JS typically replaces) if there is activity

Repository: allura
Updated Branches:
  refs/heads/db/8173 [created] 0a279cde1


[#8173] only show pagination (which JS typically replaces) if there is activity


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/0a279cde
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/0a279cde
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/0a279cde

Branch: refs/heads/db/8173
Commit: 0a279cde16cca2cffec2ccee2118bb1fdf7c8197
Parents: 900f579
Author: Dave Brondsema <da...@brondsema.net>
Authored: Fri Jan 12 17:17:30 2018 -0500
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Jan 12 17:17:30 2018 -0500

----------------------------------------------------------------------
 ForgeActivity/forgeactivity/templates/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/0a279cde/ForgeActivity/forgeactivity/templates/index.html
----------------------------------------------------------------------
diff --git a/ForgeActivity/forgeactivity/templates/index.html b/ForgeActivity/forgeactivity/templates/index.html
index 535b4b6..d2eb731 100644
--- a/ForgeActivity/forgeactivity/templates/index.html
+++ b/ForgeActivity/forgeactivity/templates/index.html
@@ -54,7 +54,7 @@
     <ul class="timeline" data-limit="{{limit}}">
         {% include 'forgeactivity:templates/timeline.html' %}
     </ul>
+    {{c.page_list.display(limit=1, page=page, count=page+1, show_label=False, show_if_single_page=True, force_next=has_more)}}
   {% endif %}
-  {{c.page_list.display(limit=1, page=page, count=page+1, show_label=False, show_if_single_page=True, force_next=has_more)}}
 </div>
 {% endblock %}