diff pylons_app/controllers/summary.py @ 126:cfddee9d3693

Updated summary page
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 03 May 2010 18:31:00 +0200
parents 5e2470ebdbc6
children 20dc7a5eb748
line wrap: on
line diff
--- a/pylons_app/controllers/summary.py	Thu Apr 29 01:26:20 2010 +0200
+++ b/pylons_app/controllers/summary.py	Mon May 03 18:31:00 2010 +0200
@@ -27,6 +27,6 @@
                                                 'repo_name':c.repo_name,
                                                 }
         c.clone_repo_url = url(uri)
-        c.repo_tags = []#c.repo_info.get_tags(limit=10)
-        c.repo_branches = []#c.repo_info.get_branches(limit=10)
+        c.repo_tags = c.repo_info.tags[:10]
+        c.repo_branches = c.repo_info.branches[:10]
         return render('/summary.html')