allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#8173] only show pagination (which JS typically replaces) if there is activity
Date Fri, 12 Jan 2018 22:20:18 GMT
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 <dave@brondsema.net>
Authored: Fri Jan 12 17:17:30 2018 -0500
Committer: Dave Brondsema <dave@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 %}


Mime
View raw message